Expert Developer JavaScript Question:

Download Job Interview Questions and Answers PDF

What is the use of Push method in JavaScript?

Expert JavaScript Developer Interview Question
Expert JavaScript Developer Interview Question

Answer:

The push method is used to add or append one or more elements to the end of an Array. Using this method, we can append multiple elements by passing multiple arguments

Download Expert JavaScript Developer Interview Questions And Answers PDF

Previous QuestionNext Question
What is break and continue statements?Explain the for-in loop?