Javascript Comments | Mastering of Web development

Поделиться
HTML-код
  • Опубликовано: 17 июн 2024
  • Summary
    This video demonstrates how to add comments to JavaScript code. The video explores the three main types of comments: single-line comments, multi-line comments, and documentation comments.
    Highlights
    - 💻 *Single-line comments:* Use double forward slashes (`//`) to comment out a single line of code.
    - 📚 *Multi-line comments:* Use a forward slash and asterisk (`/*`) to begin a multi-line comment, and an asterisk and forward slash (`*/`) to end it.
    - 📝 *Documentation comments:* Use a double forward slash and asterisk (`/**`) to start a documentation comment, followed by an asterisk (`*`) on subsequent lines. This is particularly helpful for explaining functions and variables.
    - ⌨️ *Keyboard shortcuts:* Use `Ctrl+/` (Windows) or `Cmd+/` (Mac) to toggle single-line comments.
    - 💡 *Comment out entire blocks:* Use `Cmd+/` (Mac) to quickly comment out multiple lines of code.
    Telegram Link
    t.me/techshareskk
    Instagram
    / tech.share.skk
    Playlist links
    Angular Project
    • User & Notes Managemen...
    Angular Tutorials Zero to Hero
    • Angular Tutorials
    Angular Unit Testing
    • Angular Unit Testing
    For Angular Reactive forms
    • Angular Reactive forms
    For Javascript Objects Series
    • Javascript Objects
    For Concepts of JavaScript
    • Concepts of JavaScript
    For Projects and POC
    • Projects and POC
    #webdevelopment #html #css #javascript
  • НаукаНаука

Комментарии •