how to find the length of array in typescript code example Example: size of array typescript console.log(clothing.length);