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


Please Help Members By Posting Answers For Below Questions

Is javascript harmful?

692


Define unescape() and escape() functions?

717


What does undefined value mean in javascript?

800


How can you get the reference of a caller function inside a function?

814


What is createtextnode?

684


List some of the disadvantages of javascript.

719


Can we create session in javascript?

668


Do you have to declare variables in javascript?

692


Explain export & import in javascript?

786


What would be the result of 3+2+”7″?

1227


Does javascript care about whitespace?

707


What makes a relation a function?

717


Is a javascript script faster than an asp script?

698


How javascript sort function works?

760


how to get no of items from from weblist?

1646