Skip to content

Commit ccbf42b

Browse files
committed
Completed Lesson 13. Return to Operator Precedence Later
1 parent f22d3d3 commit ccbf42b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

01-Fundamentals-Part-1/starter/script.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ console.log(firstName + lastName);
7474
// Math Operators
7575
const now = 2037;
7676
const ageJonas = now - 1991;
77-
const ageSarah = now - 2020;
77+
const ageSarah = now - 2018;
7878
console.log(ageJonas, ageSarah);
7979

8080
console.log(ageJonas * 2, ageJonas / 10, 2 ** 3);
@@ -97,4 +97,6 @@ console.log(x);
9797
console.log(ageJonas > ageSarah); // >, <, >=, <=
9898
console.log(ageSarah >= 18);
9999

100-
const isFullAge = ageSarah >= 18;
100+
const isFullAge = ageSarah >= 18;
101+
102+
console.log(now - 1991 > now - 2018);

0 commit comments

Comments
 (0)