beginner40 minby DevFox

void: functions that return nothing

Write functions that do a job and give nothing back: the return type void, the undefined their call leaves behind, leaving early with return;, and actions handed to forEach.

  • TypeScript
  • Fundamentals
`void`: functions that return nothing. Read this lesson at .