Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Comments | Getting Started
Introduction to JavaScript
course content

Conteúdo do Curso

Introduction to JavaScript

Introduction to JavaScript

1. Getting Started
2. Manipulating Data
3. Conditional Statements

book
Comments

Summary

  • Comments: A way to include useful notes or explanations in the code, or to temporarily ignore a piece of code.
  • Single-line Comment: Used to add a comment that only takes up one line.
  • The syntax of a single-line comment is:
javascript

1. What symbol is used to create a single-line comment in JavaScript?

2. Which of the following is a correct example of a single-line comment?

question mark

What symbol is used to create a single-line comment in JavaScript?

Select the correct answer

question mark

Which of the following is a correct example of a single-line comment?

Select the correct answer

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 10
Sentimos muito que algo saiu errado. O que aconteceu?
some-alt