using push() method we can add new element to the end of an array, and it returns the new length of the array
var skills = ["javacript", "jquery", "Extjs"]; skills.push("php");
and it returns the length as "4"
Learn to Develop an iPhone or iPad App in 4 Weeks Learn the latest and greatest markup language in the market with Robin Nixon(HTML & HTML5) Now $29 Only(75% Off)
using push() method we can
Wed, 06/30/2010 - 19:57 — bandariusing push() method we can add new element to the end of an array, and it returns the new
length of the array
var skills = ["javacript", "jquery", "Extjs"];
skills.push("php");
and it returns the length as "4"