Explain what is pop()method in JavaScript?

Answer

The pop() method is similar as the shift() method but the difference is that the Shift method works at the end of the array.  Also the pop() method take the last element off of the given array and returns it. The array on which is called is then altered.

All javascript Questions

Ask your interview questions on javascript

Write Your comment or Questions if you want the answers on javascript from javascript Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---