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