Browsed by
Tag: javascript programming

JavaScript Comments

JavaScript Comments

Not all JavaScript statements are “executed”. Comments are lines of code that JavaScript will intentionally ignore. Commenting is a way that you can: Leave no to other developers. Describe what your code does. Leave notes to yourself for the future. Comment out a part of the Javascript code without deleting it. There are two ways to write comments in JavaScript: Single-line Comment Multi-line Comment Single Line Comments Single line comments start with  // ( two forward slashes).Anything you write after…

Read More Read More