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