Hi everyone, and welcome to another exciting edition of Boring JavaScript! Today I take on the Ternary operator. What’s a ‘ternary’, you ask? It’s a simplified and compact way to specifying a simple ‘if/else’ statement. It makes your code easier to read and easier to understand. But be careful not to overuse them! I love them, and use them all the time. Watch the video and check it out.
Shameless Plug
Check out all our videos at: https://www.boringjavascript.com
Github Repository: https://github.com/TheVirtuoid/boringjavascript
Check out everything at: https://www.thevirtuoid.com
Facebook: https://www.facebook.com/TheVirtuoid
Twitter: https://twitter.com/TheVirtuoid
YouTube: https://www.youtube.com/channel/UCKZ7CV6fI7xlh7zIE9TWqgw
Discord: https://discord.gg/M2Hb6r628r
Categories: Boring JavaScript
thevirtuoid
Web Tinkerer. No, not like Tinkerbell.
Creator of the game Virtuoid. Boring JavaScript. Visit us at thevirtuoid.com
Leave a Reply