πŸ“Š JavaScript
Q. Which method is used to remove the last element of an array?
  • (A) pop()
  • (B) push()
  • (C) shift()
  • (D) splice()
πŸ’¬ Discuss
βœ… Correct Answer: (A) pop()

Explanation: pop() removes the last element from an array and returns it.

Explanation by: Mr. Dubey
pop() removes the last element from an array and returns it.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
68
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate