Page 1 of 1

Code the following excercise using javascript. 1) EASY: Create two variables and assign a person’s name to each. Console

Posted: Fri Jul 01, 2022 5:42 am
by answerhappygod
Code the following excercise using javascript.
1) EASY: Create two variables and assign a person’s name toeach. Console log a statement that says which name is shorter orlonger, and by how many characters. Example output: “The nameThomas is longer than John by 2 characters”