MCQs > IT & Programming > JavaScript > How does the forEach() method differ from a for statement?

JavaScript MCQs

How does the forEach() method differ from a for statement?

Answer

Correct Answer: ForEach can be used only with an array, whereas for can be used with additional data types.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it