Loading
Current section: 6. Void and Never 4 exercises
Problem

Void Functions

Loading exercise

Transcript

00:00 Okay. Now it's time to talk about nothing. No, about void. Void is kind of nothing. It's like null and undefined, but, like, another version of those things.

00:10 And it's actually not something that I ever really saw in JavaScript itself very often. But now I see it a fair bit more in TypeScript, in part because of what happens when you don't have a return. Oh, okay. I'm spoiling stuff. I'm gonna let you just work on this exercise, play around with it a little bit, get your brain open to the idea in the problem space, and then we'll go through the solution, once you've played around with this a bit.

00:34 So we'll see you when you're done.