Comment Your JavaScript Code (Basic JavaScript) freeCodeCamp tutorial

Publicado em: 16 Maio 2021
no canal de: Becoming A Better Dev (with David)
1,371
15

Do you need more help with coding?
════════════════════════════
✅ Apply for 1-1 coaching https://form.jotform.com/230156286763056

Certification: JavaScript Algorithms and Data Structures
Course: Basic JavaScript
Lesson: Comment Your JavaScript Code
freeCodeCamp tutorial

In this lesson, we learn how to comment on code in JavaScript. Comments are used for notes to yourself or colleagues. It is also useful to comment out old cold at times so you still have it there for reference.

When you comment out code, JavaScript ignores it. the comment will usually be a different color or lighter color depending on your integrated development environment (IDE).

To signify a comment, you use "//". This will comment out the rest of the line.

To comment out multi lines, you being with "/*" and end with "*/".

A short cut to comment out lines of code is to highlight the code and use "command /".

Let's Connect 💯:
════════════════════════════
LinkedIn:   / anusontarangkul  
TikTok:   / david.anu_  
Instagram:   / david.anu_  
GitHub: https://github.com/anusontarangkul


Nesta página do site você pode assistir ao vídeo on-line Comment Your JavaScript Code (Basic JavaScript) freeCodeCamp tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Becoming A Better Dev (with David) 16 Maio 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,371 vezes e gostou 15 espectadores. Boa visualização!