scrimba
Learn JavaScript
Practice part 2
push, pop, unshift, shift challenge
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

push, pop, unshift, shift challenge
AboutCommentsNotes
push, pop, unshift, shift challenge
Expand for more info
index.js
run
preview
console
let largeCountries = ["Tuvalu","India","USA","Indonesia","Monaco"]

// You need to help me fixup the largeCountries array so that
// China and Pakistan are added back into their respective places

// Use push() & pop() and their counterparts unshift() & shift()
// Google how to use unshift() and shift()
Console
/index.html
-3:25