Transcript
00:00 Sweet. Now it's time to talk about something that JavaScript kind of invented and that is truthy and falsy. These are only, terms that as far as I know that only really make sense in, JavaScript or at least JavaScript was the first to introduce these, interesting terms. But the fact is that in JavaScript, everything has either a truthiness or falsiness to it and your job is to find out what that is. And what does that mean?
00:25 Well, basically, it means that if you were to coerce a value into a Boolean, would it be true or false? So like we've talked about how the string of 23 and the number 23, if you do a double equals, they will actually be equal because one is coerced to be the same type as the other. Coercion is where a, that type turns into another type. So that number turns into a string or vice versa. So when you coerce a value into a boolean, it's either going to be true or it's going to be false.
00:56 That's what truthiness and falsiness is all about, and that's what you're gonna learn about in this exercise. Have a good time with it.
