What is a way to append a value to an array?
Answer Posted / narasimhan
We can use push() method to add an element in an array in
its last node.
| Is This Answer Correct ? | 25 Yes | 3 No |
Post New Answer View All Answers
What are the ways to define a variable in javascript?
What is DOM? What is the use of document object?
Is it possible to use javascript to change the meta-tags of the page?
Some XYZ company is arranging for online aptitude tests. Draw detailed E-R diagram for the same..
How to reload the current page?
What are the different objects used in javascripts?
How to get height and width of different browser in Javascript?
What is array constructor in javascript?
What is the difference between test () and exec () methods?
What is a module code?
What data types are supported in Javascript?
Explain javascript closures by example.
Is Javascript a Functional Programming Language?
What is encodeuri() in javascript?
What typeof returns for a null value?