You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Week1/MAKEME.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ Follow the steps. Make sure that each step is written on the line after.
118
118
Write a program that checks the data types of two variables and logs to the console `SAMETYPE` if they are the same type. If they are different types log `Not the same...`.
119
119
120
120
1. Declare 4 variables: 2 must be `strings` and 2 must be `objects`
121
-
2. Create 8 conditional statements, where for each you check if the data type of one variable is the same as the other
121
+
2. Create 6 conditional statements, where for each you check if the data type of one variable is the same as the other
122
122
3. Find out how to check the type of a variable
123
123
4. Write 2 `console.log` statements to log the type of 2 variables, each with a different data type
124
124
5. Now compare the types of your different variables with one another
@@ -145,8 +145,8 @@ if (...) {
145
145
For each of these, write in comments what the answer is followed by how you came to that conclusion
146
146
147
147
1. If `x` equals 7, and the only other statement is `x = x %3`, what would be the value of `x` after the calculation?
148
-
2. If `y` equals 21, and the only other statement is `x=x%4`, what would be the value of `y` after the calculation?
149
-
3. If `z` equals 13, and the only other statement is `x=x%2`, what would be the value of `z` after the calculation?
148
+
2. If `y` equals 21, and the only other statement is `y=y%4`, what would be the value of `y` after the calculation?
149
+
3. If `z` equals 13, and the only other statement is `z=z%2`, what would be the value of `z` after the calculation?
0 commit comments