Javascript Primer Quiz - Booleans

How many values does the boolean data type have?

  1. Many
  2. Exactly two
  3. None
        let answer
      
        tests({
          'answer is correct': (t) => {
            t.isEqual(answer, 2, `${answer === undefined ? "You haven't submitted an answer yet" : "Not quite, try again"}`)
          }
        })
      

How many of these are a boolean value?

        let answer
        
        tests({
          'answer is correct': (t) => {
            t.isEqual(answer, 2, `${answer === undefined ? "You haven't submitted an answer yet" : "Not quite, try again"}`)
          }
        })
    

Onwards!

You've completed the Booleans section of the quiz! Now, click here to continue to the Variables section.