Chapter 4Write Clear Conditionals
Have you ever been sucked into a round of spring cleaning? I don’t mean the kind where you put “Scrub the floors” on your to-do list and then you actually do it. Rather, say it’s a nice day so you open the window, but as soon as you do, a pile of papers blows off your desk. That’s fine, you’ve been meaning to organize those anyway. So you start filing, but without that stack of papers hiding everything, now you notice that your computer cables look all tangled and sloppy, and how long has that coffee mug been hiding back there? Before you know it, you’re taking your whole office apart. Once you start removing clutter, it’s hard to stop.
By now, you’ve likely started getting a taste for clean and simple JavaScript. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access