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

JavaScript Coding Exercise 61

Advertisement

728x90
javascript
1console
2  .log("First line")
3  [("a", "b", "c")].forEach((element) => console.log(element));
4
5console.log("Third line");

Choose the correct output:

A
First line, then print a, b, c in a new line, and finally print Third line as next line
B
First line, then print a, b, c in a first line, and print Third line as next line
C
Missing semi-colon error
D
Cannot read properties of undefined

Advertisement

Responsive Ad
61of86