Assignments for The Complete JavaScript Course by Jonas Schmedtmann Help

Data Types

  1. Declare a variable called isIsland and set its value according to your country. The variable should hold a Boolean value. Also declare a variable language, but don't assign it any value yet.

  2. Log the types of isIsland, population, country and language to the console.

let isIsland = false; let language; console.log(typeof isIsland); console.log(typeof population); console.log(typeof country); console.log(typeof language);