View all questions & answers for the JavaScript-Developer-I exam
Refer to the following code:
What is the value of output on line 11?
[1, 2]
[‘’foo’’, ‘’bar’’]
[‘’foo’’:1, ‘’bar’’:2’’]
An error will occur due to the incorrect usage of the for…of statement on line 07.
Submit