get length of list in typescript code example
Example 1: length of object in typescript
Object.keys(customer).length
Example 2: size of array typescript
console.log(clothing.length);
Object.keys(customer).length
console.log(clothing.length);