Create a JavaScript array
console.log()
statement we use the array.length property to get the number of array elements. The statement logs true if the array has 3 elements. Task: Add a third element to the array. It can have any value.
Get a premium membership to access this content: