How to Check if a Value Is an Array in JavaScript | CodeTrail