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

Kursinhalt

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

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 10
Wir sind enttäuscht, dass etwas schief gelaufen ist. Was ist passiert?
some-alt