Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Double && (and) Double || (or) = Double Functionality


    The and (&&) and or (||) operators in javascript do not function like traditional logical operators. We can use them to our advantage to eliminate some boilerplate code when writing conditional expressions.

    Additional jsbin: https://jsbin.com/qipina/edit?js,output