Notes for humans, ignored by the engine.
- single-line:
// like this - multi-line:
/* like this */ - JSDoc:
/** ... */documents functions and is read by tooling - don't over-comment obvious code — explain WHY, not WHAT
See examples/.
Add a JSDoc block to a function you wrote earlier.