ExamVeda
Login
Home
This question belongs to Javascript Array And Function
Array and Function
?

The pop() method of the array does which of the following task ?

Answer & Solution
Correct Answer: Option A
Arrays have a pop() method (it works with push()) that reduces the length of an array by 1 but also returns the value of the deleted element.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.