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
Your Skill Level: Poor
Retake Quizzes to improve it
More JavaScript MCQ Questions
Which choice is an incorrect way to define an arrow function that returns an empty object?
Why might you choose to make your code asynchronous?
Which expression evaluates to true?
Which of these is a valid variable name?
Which method cancels event default behavior?
Properties of objects may be accessed using...
Which of these descriptors applies to JavaScript?
What operator is used for string concatenation?
What is the value of the following expression: 8 % 3
Which of these will throw a SyntaxError?