Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 513 Bytes

ex_39.md

File metadata and controls

10 lines (9 loc) · 513 Bytes

Exercise 39

  • Create a new index39.js file
  • Define a firstName variable and assign your name as it's value
  • Define a lastName variable and assign your last name as it's value
  • Show the following output:
    • My first name is %firstName% and it is %nameCharacters% characters long
    • My last name is %lastName% and it is %lastNameCharacters% characters long
    • The character difference between my first name and last name is %charsDiff%
    • My first name is longer than my last name: true or false