Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js is array

Array.isArray([1, 2, 3]);   // true
Array.isArray({toto: 123}); // false
Array.isArray("tototruc");  // false
Array.isArray(undefined);   // false
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #js #array
ADD COMMENT
Topic
Name
8+3 =