Q. Which method adds an element to the end of an array?

  • (A) push()
  • (B) pop()
  • (C) shift()
  • (D) unshift()
πŸ’¬ Discuss
βœ… Correct Answer: (A) push()
Explanation: push() adds one or more elements to the end of an array.
Explanation by: Mr. Dubey
push() adds one or more elements to the end of an array.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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