Q. Which method removes the last element from an array?

  • (A) pop()
  • (B) push()
  • (C) shift()
  • (D) unshift()
πŸ’¬ Discuss
βœ… Correct Answer: (A) pop()
Explanation: pop() removes the last element from an array.
Explanation by: Mr. Dubey
pop() removes the last element from an array.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
72
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate