Exercise 1 of 3
easy
🤔
💨
Need a hint? Click the hint button below!
Predict the Unshift
What will the array look like after unshift?
Starting array:
[
2
[0]3
[1]4
[2]]
length: 3
After running this code:
1arr.unshift(1);
What will the array look like?