Intermediate Code Comments #jsdoc #documentation

JSDoc & Docstrings

6 exercises — write and review JSDoc comment blocks: @param, @returns, @throws, @deprecated, @example.

0 / 6 completed
1 / 6
Which JSDoc comment correctly documents this function? `function slugify(text: string): string` (converts "Hello World" → "hello-world")