Skip to content

Commit d8baf74

Browse files
committed
Swap a couple things in the more args example
1 parent 3159dfb commit d8baf74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Ch06/06_02/transcript.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ function isEven(num) {
2727
}
2828
}
2929

30+
isEven(12);
31+
12 % 2;
32+
3033
function isEven(num) {
3134
return num % 2 === 0;
3235
}
3336

34-
12 % 2;
35-
isEven(44);
36-
3737
// More info:
3838
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Functions
3939
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function

0 commit comments

Comments
 (0)