📜  数组打字稿代码示例的大小

📅  最后修改于: 2022-03-11 14:48:17.657000             🧑  作者: Mango

代码示例2
const clothing = ['shoes', 'shirts', 'socks', 'sweaters'];

console.log(clothing.length);
// expected output: 4