Comments

Learn how to create comments in code to explain what's happening.

Comments

A comment is something written in between actual code to help explain that code. JavaScript comments start with two slashes //. Anything written on a line after // will not be interpreted as code and will not run.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy