5min chapter

HTML All The Things - Web Development, Web Design, Small Business cover image

JavaScript Basics: Learn These Concepts First

HTML All The Things - Web Development, Web Design, Small Business

CHAPTER

The Power of Comparators in Conditional Statements

There's an or and comparator where like, if this statement and this statement are equal, then the if statement is okay. So there's multiple different ways and multiple different combinations. You can use them to kind of limit the amount of code you need to write to do these conditional statements. And again, with more complex programs, you're going to end up using comparators all the time for that type of thing. It'll take the decision making game to a whole new height because you're not just limited to like, Oh, like, If the number is this, if the number is that.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode