Comments are lines of code that JavaScript will intentionally ignore. Comments are a great way to leave notes to yourself and to other people who will later need to figure out what that code does.
There are two ways to write comments in JavaScript:
Using // will tell JavaScript to ignore the remainder of the text on the current line. This is an in-line comment:
// This is an in-line comment.
You can make a multi-line comment beginning with /* and ending with */. This is a multi-line comment:
/* This is a
multi-line comment */
En esta página del sitio puede ver el video en línea How to Comment JavaScript Code de Duración hora minuto segunda en buena calidad , que subió el usuario SVGIE 06 agosto 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 151 veces y le gustó 2 a los espectadores. Disfruta viendo!