Add new items to array – JavaScript
This article shows how to add new items to an array. To add new items to an array, you need to use .push() method. The push() method adds new elements to the end of an array. Below is the syntax to use .push() method.
Comments closed