Javascript isArray() function

posted in: Javascript, Programming 0

Javascript does not provide a function to recognize if a variable is an array or not; you can make a “typeof” of the variable however u’ll get an ‘object’ datatype, as in the following code [sourcecode language=”javascript”] var myarray = … Read More