over 9 years ago
Javascript provide us a push() method by using this method we can add new element in to the array.
Ex:-
Output:- name array will looks like : ["Amit", "Rohit", "Manoj","Kapil"]
Can you help out the community by solving one of the following Javascript problems?
Do activity (Answer, Blog) > Earn Rep Points > Improve Rank > Get more opportunities to work and get paid!
For more topics, questions and answers, please visit the Tech Q&A page.
0 Comment(s)