Beginner Code Comments #reading #jsdoc #todo

Reading Code Comments

6 exercises — understand inline comments, TODO/FIXME markers, and JSDoc blocks you encounter in real codebases.

0 / 6 completed
Comment reading checklist
  • Inline comment: why was this decision made? what constraint does it reflect?
  • TODO: work not yet done; plan for future
  • FIXME: known bug or bad code that needs fixing
  • HACK / XXX: temporary workaround — treat with suspicion
  • NB / NOTE: critical information — read carefully before using this code
  • @param [name]: square brackets = optional parameter
  • @returns {Promise<T>}: async function; the T is the resolved value type
1 / 6
Read this inline comment and choose what it means:

i = 1; // skip header row