programming faqs interview questions tech technical educational freshers guide preparation interviews hr telephonic
try another color:
try another fontsize: 60% 70% 80% 90%
Programming FAQs

How to add new elements to the end of array in javascript

using push() method we can

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"