var arr = [1,2,3,4]; var obj = {title:'title'} console.log(Array.isArray(arr)) console.log(Object.prototype.toString.call(arr)) console.log(Object.prototype.toString.call(obj)) console.log(arr instanceof Array) console.log(arr.constructor)