Create a JavaScript array

In this exercise, we have an array called arr. In the 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: