scrimba
JS Deep Dive
Arrays & Sets
Challenge: Your First Array
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Challenge: Your First Array
AboutCommentsNotes
Challenge: Your First Array
Expand for more info
index.js
run
preview
console
// Challenge: 
// 1. Create an array - favouriteSongs[] - and add your 3 favourite songs using push()
// 2. Log out the last song in the array, and make it so that your solution will log out the last one regardless of how many items there are in the array
// 3. Invoke the pop method on your created array. What values do you have left in the array?

Console
/index.html
-3:20