You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 14, 2024. It is now read-only.
Follow the steps. Make sure that each step is written on the line after.
Declare variable and assign to it an empty array. Make sure that the name of the variable indicates it contains more than 1 item. For example items instead of item.
Write a console.log statement that explains in words what you think the value of the array is.
Write a console.log statement that logs the array.
Create a new variable with an array that has 3 of your favorite animals, each in a different string. Make sure the name of the variables says something about what the variable contains.
Write a console.log statement that logs the second array.
Add a statement that adds another string ("Piglet)" to the array of animals.
Write a console.log statement that logs the second array!