Example : length
let fruits = ['Apple', 'Banana']
console.log(fruits.length)
Example: access by index
const fruits = ["Apple", "Pear", "Banana"];
let first = fruits[0];
console.log(first);
Example : length
let fruits = ['Apple', 'Banana']
console.log(fruits.length)
Example: access by index
const fruits = ["Apple", "Pear", "Banana"];
let first = fruits[0];
console.log(first);