📅  最后修改于: 2022-03-11 15:02:59.534000             🧑  作者: Mango
代码示例5
// Check if something is an Array
// just like you do with "typeof"
Array.isArray([1, 2, 3]); // true
Array.isArray('asdf'); // false