0% Complete
0/0 Steps

Participants 0

      JavaScript Booleans

      Booleans can only have two values: true or false.

      Example

      var x = 5;
      var y = 5;
      var z = 6;
      (x == y)       // Returns true
      (x == z)       // Returns false

      Booleans are often used in conditional testing.

      You will learn more about conditional testing later in this tutorial.


      Welcome to the Digital Strategy Hub

      We are in beta and please email support @ centerfordigitalstrategy.com with any issues or features that would make your experience better.


      We have a feedback call to hear what would be most useful to you:

      Thursday April at 1 ET / 10am PT