[JavaScript] Check if a variable is a type of an Object or Array? · const data = [1,2,3,4,5]; const isArray = data instanceof Array; console.log(isArray); // ...
確定! 回上一頁