Skip to main content

Exercise 22

  • Create a new index22.js file
  • Define a variable done and assign the value: true
  • Define a variable married and assign the value: false
  • Define a variable logged and assign the value: false
  • Define a variable likesJS and assign the value: true
  • Show each value using console.log() with the variable name (string) as first parameter and the actual variable value as second
  • Example: console.log('name', name);