What Are Comments?
Comments are notes in your code that are completely ignored by the JavaScript engine during execution.
Comments serve as documentation for other developers (and your future self) to understand the code's purpose.
They help explain complex logic, document APIs, and provide context that the code alone cannot convey.
Comments do not affect performance or code execution - they are purely for human readers.
Professional code always includes meaningful comments that explain the "why" behind decisions.