check if something is an array

this function will check if something is an array

Javascript

var test_array = ["Foo", "Moo", "Boo", "Goo"];
is_array = Array.isArray(test_array);
console.log(is_array);

Other Items in javascript
Page Views

This page has been viewed 275 times.

Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

❤👩‍💻🕹

Random Quote
Even if you fall on your face, you're still moving forward.
Victor Kiam