let arr1 = new Array<number> code example Example: https://javascript array let fruits = ['Apple', 'Banana'] console.log(fruits.length) // 2