Open Cosen95 opened 4 years ago
const foo = [] Array.isArray(foo) // 1 foo.constructor === Array // 2 foo instanceof Array // 3 Object.prototype.toString.call(foo) === '[object Array]' // 4