chrisyboy53
4/8/2015 - 3:58 PM

check if object is array

check if object is array

if( Object.prototype.toString.call( someVar ) === '[object Array]' ) {
    alert( 'Array!' );
}