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