MDN array length

JavaScript
const clothing = ['shoes', 'shirts', 'socks', 'sweaters'];

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

Also in JavaScript: