Javascript Primer Quiz - Strings

How many of these are a string in JavaScript?

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

Which one of these is NOT appropriate to store as a string?

  1. A song lyric
  2. A person's age
  3. An email address
  4. A person's name
        let answer
        
        tests({
          'answer is correct': (t) => {
            t.isEqual(answer, 2, `${answer === undefined ? "You haven't submitted an answer yet" : "Not quite, try again"}`)
          }
        })
    

What is the result of the following code:

"Happy " + "Birthday!"
    
  1. Happy Birthday!
  2. "Happy birthday!"
  3. "HappyBirthday!"
  4. "Happy Birthday!"
        let answer
        
        tests({
          'answer is correct': (t) => {
            t.isEqual(answer, 4, `${answer === undefined ? "You haven't submitted an answer yet" : "Not quite, try again"}`)
          }
        })
    

Onwards!

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