JS Coding Questions Logo
JS Coding Questions
#63🎯 Exercise💻 Code

JavaScript Coding Exercise 63

Advertisement

728x90
javascript
1var of = ["of"];
2
3for (var of of of) {
4
5console.log(of);
6}

Choose the correct output:

A
of
B
SyntaxError: Unexpected token of
C
SyntaxError: Identifier 'of' has already been declared
D
ReferenceError: of is not defined

Advertisement

Responsive Ad
63of86