Comment Your JavaScript Code (Basic JavaScript) freeCodeCamp tutorial

Pubblicato il: 16 maggio 2021
sul canale di: 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


In questa pagina del sito puoi guardare il video online Comment Your JavaScript Code (Basic JavaScript) freeCodeCamp tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Becoming A Better Dev (with David) 16 maggio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,371 volte e gli è piaciuto 15 spettatori. Buona visione!