Skip to content

Commit af1d4f8

Browse files
committed
math
1 parent 83be115 commit af1d4f8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

40_math.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
// const result = Math.ceil(Math.random() * 10);
1616
// console.log(result); //here ceil never 0, if u have floor please add + 1
1717

18-
// min max
19-
const result = Math.max(1, 8, 0, 9);
20-
console.log(result);
18+
// // min max
19+
// const result = Math.max(1, 8, 0, 9);
20+
// console.log(result); //9
21+
22+
// // min max
23+
// const result = Math.min(1, 8, 0, 9);
24+
// console.log(result); //0

0 commit comments

Comments
 (0)