- 2

Comments

console.log("JavaScript is fun"); //comment "(JavaScript is fun"); console.log("JavaScript is hard");

23rd Sep 2022, 1:56 PM
Emmanuel Pena
9 odpowiedzi
0
Do you have a problem with this?
23rd Sep 2022, 2:49 PM
Ausgrindtube
Ausgrindtube - avatar
0
Yes its not running
23rd Sep 2022, 3:02 PM
Emmanuel Pena
0
You are given a program that prints two expressions. Task Comment the second line of the code to print only the first expression.
23rd Sep 2022, 3:02 PM
Emmanuel Pena
0
Add // in front of the bottom line too
23rd Sep 2022, 3:08 PM
Ausgrindtube
Ausgrindtube - avatar
0
Emmanuel Pena You have to comment out the 2nd line not you have to write it. It means use // before the 2nd line
23rd Sep 2022, 3:10 PM
A͢J
A͢J - avatar
0
Emmanuel Pena console.log("JavaScript is fun"); //console.log("JavaScript is hard"); Like this
23rd Sep 2022, 7:34 PM
A͢J
A͢J - avatar
0
Thank you !!
23rd Sep 2022, 8:02 PM
Emmanuel Pena
0
console.log("JavaScript is fun"); //console.log("JavaScript is hard") Like this
10th Nov 2022, 8:36 PM
Israel Ortiz-Suarez
Israel Ortiz-Suarez - avatar
- 2
console.log("JavaScript is fun"); //Comment console.log("JavaScript is hard"); //Comment Like this
23rd Sep 2022, 7:31 PM
Emmanuel Pena