Boolean or || in JavaScript?

Published: 13 August 2024
on channel: dcode
1,260
105

Let's have a look at the difference between Boolean and !! (double exclamation mark) in JavaScript/TypeScript and when you should use them.

For your reference, check this out:
https://developer.mozilla.org/en-US/d...

🏫 My Udemy Courses - https://www.udemy.com/user/domenic-co...
🎨 Download my VS Code theme - https://marketplace.visualstudio.com/...
🐦 Find me on Twitter -   / dcodeyt  
💸 Support me on Patreon -   / dcode  
📰 Follow me on DEV Community - https://dev.to/dcodeyt
📹 Join this channel to get access to perks -    / @dcode-software  

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!

#dcode #javascript #typescript


Watch video Boolean or || in JavaScript? online, duration hours minute second in high quality that is uploaded to the channel dcode 13 August 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 1,260 times and liked it 105 visitors.