scrimba
Watch in
fullscreen
Adding to Arrays With the Push, Unshift, and Concat Methods: Part 1 of 2
by
Daniel Rose
About
Comments
Notes
Adding to Arrays With the Push, Unshift, and Concat Methods: Part 1 of 2
by
Daniel Rose
Expand for more info
index.js
run
preview
console
const arr = ['First item', 'Second item', 'Third item'];
// Task: add 'Fourth item'.
1
2
3
4
const
arr
=
[
'First item'
,
'Second item'
,
'Third item'
]
;
// Task: add 'Fourth item'.
No Results
Console
Explorer
project
index.css
index.html
index.js
Dependencies
/index.html
-11:06
Download as zip
Copy contextual link
Font Size
13px
Speed
1x
Volume
1