22
33## Steps
44
5- 1 . Fork this repository to start a new project in your repos folder == git clone <JavaScript_Operators>
5+ 1 . Fork this repository to start a new project in your repos folder => ` git clone <JavaScript_Operators> `
662 . cd JavaScript_Operators to navigate into your new repo directory
773 . Type the command code . to open VSC with the JavaScript_Operators folder
884 . Open the app.js file
@@ -22,19 +22,20 @@ You can print the value of the variables to the browser console (ex: `console.lo
22221 . Use the following code to answer the questions below:
2323
2424```
25- let a = 11;
25+ let num = 11;
2626let str = "11";
2727let str2 = "eleven";
2828let isPresent = true;
29- let firstName = "Jackie ";
30- let lastName = "Chan ";
29+ let firstName = "Frodo ";
30+ let lastName = "Baggins ";
3131```
3232
33- - What is the value of: a + str?
34- - What is the value of: a + str2?
35- - What is the value of: a + isPresent?
36- - What is the value of: a + firstName?
37- - What is the value of: a + lastName?
33+ - What is the value of: num + str?
34+ - What is the value of: num + str2?
35+ - What is the value of: num + isPresent?
36+ - What is the value of: firstName + num?
37+ - What is the value of: isPresent + str?
38+ - What is the value of: firstName + lastName?
3839
3940Use the code above to test and print the results.
4041
@@ -43,18 +44,16 @@ Use the code above to test and print the results.
43441 . Use the following code to answer the questions below:
4445
4546```
46- let a = 5;
47+ let val = 5;
4748let str = "5";
4849let str2 = "five";
4950let isPresent = false;
50- let firstName = "Robin";
51- let lastName = "Williams";
5251```
5352
54- - What is the value of: a == str?
55- - What is the value of: a === str?
53+ - What is the value of: val == str?
54+ - What is the value of: val === str?
5655- What is the value of: !isPresent?
57- - What is the value of: (“eleven” == str2 && a >= str)?
56+ - What is the value of: (“eleven” == str2 && val >= str)?
5857- What is the value of: (!isPresent || isPresent)?
5958- What is the value of: 0 == false?
6059- What is the value of: 0 === false?
0 commit comments