What Are Comments in JavaScript?
A comment is text in code that the engine ignores during execution.
- Explain what code does
- Describe logic and intent
- Document functions/modules
- Help other developers understand implementation
- Temporarily disable lines during debugging