|Written by Ian Elliot|
Author: Kirupa Chinnathambi
The popular way all the cool kids create arrays these days is to use an open and close bracket. Below is our groceries variable that is initialized to an empty array
let groceries =[ ];
If you can cope with the style you might be able to follow, as long as you concentrate really hard.
To keep up with our coverage of books for programmers, follow @bookwatchiprog on Twitter or subscribe to I Programmer's Books RSS feed for each day's new addition to Book Watch and for new reviews.
|Last Updated ( Wednesday, 09 December 2020 )|