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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

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