Everything has characteristics of an Array in JavaScript

The title maybe a little misleading. So don’t confuse Arrays with Object in JavaScript! They have common and non-common methods. You can use jQuery built-in method to check if any given variable is an array ($.isArray(var)). I came across this feature of JavaScript recently and thought I would share it with you. So every object I tried to use had capabilities of array. I could refer to object/

Comments