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