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

JavaScript Coding Exercise 31

Advertisement

728x90
javascript
1const sym1 = new Symbol("one");
2
3console.log(sym1);

Choose the correct output:

A
SyntaxError
B
one
C
Symbol('one')
D
Symbol

Advertisement

Responsive Ad
30of86