Uitdaging: Schrijf een Multi-Line Opmerking
Taak
Commentaar op regels 3 tot 10 van de code, vervang de ___
door de juiste syntaxis voor een meerregelig commentaar.
1234567891011console.log("Hello, world!"); console.log("Welcome to the console!"); ___ console.log("I'm awesome!"); console.log("Today is a great day!"); console.log("The quick brown fox jumps over the lazy dog."); console.log("JavaScript is the language of the web."); console.log("Bananas are berries, but strawberries aren't."); console.log("Coding is my passion!"); ___ console.log("Don't forget to stay hydrated!");
Gebruik de meerregelige opmerking die begint met /*
en eindigt met */
.
1234567891011console.log("Hello, world!"); console.log("Welcome to the console!"); /* console.log("I'm awesome!"); console.log("Today is a great day!"); console.log("The quick brown fox jumps over the lazy dog."); console.log("JavaScript is the language of the web."); console.log("Bananas are berries, but strawberries aren't."); console.log("Coding is my passion!"); */ console.log("Don't forget to stay hydrated!");
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 6
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Awesome!
Completion rate improved to 2.33
Uitdaging: Schrijf een Multi-Line Opmerking
Veeg om het menu te tonen
Taak
Commentaar op regels 3 tot 10 van de code, vervang de ___
door de juiste syntaxis voor een meerregelig commentaar.
1234567891011console.log("Hello, world!"); console.log("Welcome to the console!"); ___ console.log("I'm awesome!"); console.log("Today is a great day!"); console.log("The quick brown fox jumps over the lazy dog."); console.log("JavaScript is the language of the web."); console.log("Bananas are berries, but strawberries aren't."); console.log("Coding is my passion!"); ___ console.log("Don't forget to stay hydrated!");
Gebruik de meerregelige opmerking die begint met /*
en eindigt met */
.
1234567891011console.log("Hello, world!"); console.log("Welcome to the console!"); /* console.log("I'm awesome!"); console.log("Today is a great day!"); console.log("The quick brown fox jumps over the lazy dog."); console.log("JavaScript is the language of the web."); console.log("Bananas are berries, but strawberries aren't."); console.log("Coding is my passion!"); */ console.log("Don't forget to stay hydrated!");
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 6