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