πŸ“Š JavaScript
Q. What does the push() method do?
  • (A) Adds an element to the end of an array
  • (B) Removes the last element
  • (C) Adds an element to the beginning
  • (D) Removes the first element
πŸ’¬ Discuss
βœ… Correct Answer: (A) Adds an element to the end of an array

Explanation: push() appends one or more elements to the end of an array.

Explanation by: Mr. Dubey
push() appends one or more elements to the end of an array.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
54
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate