Add a new single item to an array:


var books= ["book1", "book2", "book3", "book4"];
books.push("book5");

Add a lot of items:


var books= ["book1", "book2", "book3", "book4"];
books.push("book5", "book6", "book7");

General syntax:

.push(item1,item1,…,itemN)