Q. Which method removes elements from an array and can insert new elements?

  • (A) splice()
  • (B) slice()
  • (C) push()
  • (D) pop()
πŸ’¬ Discuss
βœ… Correct Answer: (A) splice()
Explanation: splice() can add or remove items from an array.
Explanation by: Mr. Dubey
splice() can add or remove items from an array.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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