Q. Which method can be used to iterate over an array?

  • (A) forEach()
  • (B) map()
  • (C) for...of
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above
Explanation: All listed options can be used to iterate over arrays.
Explanation by: Chandani
All listed options can be used to iterate over arrays.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
69
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
84%
Success Rate