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

  • (A) pop()
  • (B) shift()
  • (C) splice()
  • (D) remove()
πŸ’¬ 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

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