- 2
Comments
console.log("JavaScript is fun"); //comment "(JavaScript is fun"); console.log("JavaScript is hard");
9 odpowiedzi
0
Do you have a problem with this?
0
Yes its not running
0
You are given a program that prints two expressions.
Task
Comment the second line of the code to print only the first expression.
0
Add // in front of the bottom line too
0
Emmanuel Pena
You have to comment out the 2nd line not you have to write it. It means use // before the 2nd line
0
Emmanuel Pena
console.log("JavaScript is fun");
//console.log("JavaScript is hard");
Like this
0
Thank you !!
0
console.log("JavaScript is fun");
//console.log("JavaScript is hard")
Like this
- 2
console.log("JavaScript is fun");
//Comment
console.log("JavaScript is hard");
//Comment
Like this