Work with Arrays by building a Shopping List
Uses JavaScript. Array Methods such as push
, pop
, shift
and unshift
are applied.
Copy script.js
to the text editor and save. In Node.js command prompt
enter the command node script.js
and press enter.