Conteúdo do Curso
Introduction to JavaScript
Introduction to JavaScript
Task - Commenting out Code
Swipe to start coding
Given is a simple JavaScript program.
Some lines of the program contain syntax errors. This is a classic scenario where we might sometimes want to temporarily ignore some lines of code which are incorrect - of course to fix them later.
Your task is to find and comment out the lines that are causing errors, so that the program runs correctly. Use multi-line comments for this purpose.
Solução
Obrigado pelo seu feedback!
Task - Commenting out Code
Swipe to start coding
Given is a simple JavaScript program.
Some lines of the program contain syntax errors. This is a classic scenario where we might sometimes want to temporarily ignore some lines of code which are incorrect - of course to fix them later.
Your task is to find and comment out the lines that are causing errors, so that the program runs correctly. Use multi-line comments for this purpose.
Solução
Obrigado pelo seu feedback!