ansaurus

tags:

  • arrays
  • javascript

views:

126

answers:

1
+1  Q: 

See if a variable is an array using JavaScript

Possible Duplicates:
How do you check if a variable is an array in JavaScript ?
What is the best way to check if an object is an array or not in Javascript?

How can i tell if a javascript variable is an array?

A: 

From just yesterday: http://stackoverflow.com/questions/1202841/what-is-the-best-way-to-check-if-an-object-is-an-array-or-not-in-javascript

John Sheehan  2009-07-30 18:00:17
oops... sorry...
Jcubed  2009-07-30 18:08:58

related questions

[c#] How to pass a single object[] to a params object[]
How to declare an array of strings in C++?
Pass reference to element in C# Array
Ruby - Convert Integer to String
Comparing Arrays of Objects in JavaScript
.NET Multi Dimensional Array Printing
Iterating over a complex Associative Array in PHP
How would you implement a hashtable in language x?
How can I merge PHP arrays?
Classes vs 2D arrays
How Does One Sum Dimensions of an Array Specified at Run-Time?
How do I compare two arrays of DataRow objects in PowerShell?
How to split a byte array
Pointer Manipulation Help
Can placement new for arrays be used in a portable way?
How does one rank an array (sort) by value? *With a twist*
Replacement for for... if array iteration
php: access array value on the fly
Remove duplicates from array
How do I remove duplicate items from an array in Perl?
Length of Javascript Associative Array
Can you force either a scalar or array ref to be an array in Perl?
What is the best way to iterate through an array in Classic Asp VBScript?
Using 'in' to match an attribute of Python objects in an array
What's the best way to generate a tag cloud from an array? (using h1 through h6 for sizing)
The questions, topics and answers come from serverfault.com, stackoverflow.com and superuser.com, and are licensed under the cc-wiki license.
© 2010 Chad Scira / icodeforlove