Go ProSign in

This Lesson is for Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In

Hide playlist

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

    Jeremy RobertsonJeremy Robertson

    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

    You must be a Member to view code