Truthy && Falsy in JavaScript !!
Вставка
- Опубліковано 10 лип 2022
- What happens when you evaluate a value in a boolean context? JavaScript will interpret any value as either true or false, because every value in JavaScript is either truthy or falsy. And on that note, what's up with ! (bang) and !! (double bang)?
Chapters:
0:00 Intro
🔗Music
www.epidemicsound.com/track/U...
🔗Moar Links
My Website: www.sammeechward.com
Instagram: / meech_ward
Github: github.com/orgs/Sam-Meech-Ward - Наука та технологія
Thank you for making such a wonderful video on this topic! I learned A LOT from your video. :)
Great novel/movie reference!
have never seen someone as concentrated and intelligent like you. thanks Boss
Wonderful exploration of the particulars of JavaScript. I used to become frustrated with Javascript's excessively complex interpretation of simple concepts--but I've grown to accept the language for what it is.
Your detailed explanations help make light of all the madness, and you're even able to approach it intellectually somehow. We just accept have to accept that -0 === 0, but they are indeed not the same in select scenarios.
They even have a catchy term for "not actually true, but not like actually false" 😋. Falsy, what a world Javascript gives us.
Thanks!
The meaning of Life is Jesus, so 42 is most certainly a false value....
Thanks for the 8 though.