Use the length property to add a new item to nameList: Oracle.
Here is the array
var nameList = ["Java", "XML", "Json"];
Syntax hint
array[array.length] = "item";
var nameList = ["Java", "XML", "Json"]; console.log( nameList );//from w w w. ja va 2 s.co m nameList[nameList.length] = "Oracle"; console.log( nameList );