Comment Your JavaScript Code (Basic JavaScript) freeCodeCamp tutorial

Publié le: 16 mai 2021
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne Comment Your JavaScript Code (Basic JavaScript) freeCodeCamp tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Becoming A Better Dev (with David) 16 mai 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,371 fois et il a aimé 15 téléspectateurs. Bon visionnage!