In JavaScript, the full array can be accessed by referring to the array name code example
Example: how to create an array in javascript
let fruits = ['Apple', 'Banana']
console.log(fruits.length)
// 2
let fruits = ['Apple', 'Banana']
console.log(fruits.length)
// 2