Skip to content

Commit 365717f

Browse files
authored
Add calculation for milliseconds in a day
1 parent 4d15e1c commit 365717f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ setTimeout(blastOff, 86400000);
100100

101101
```javascript
102102
// Declare them as capitalized named constants.
103-
const MILLISECONDS_IN_A_DAY = 86_400_000;
103+
const MILLISECONDS_IN_A_DAY = 60 * 60 * 24 * 1000; //86400000;
104104

105105
setTimeout(blastOff, MILLISECONDS_IN_A_DAY);
106106
```

0 commit comments

Comments
 (0)