DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
check if is array javascript
if(Object.prototype.toString.call(someVar) === '[object Array]') { alert('Array!'); }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#check
#array
#javascript
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit