typescript specify array length code example Example: size of array typescript console.log(clothing.length);