Skip to content

Commit 8f678c8

Browse files
Merge pull request #320 from ychek/add-calculation-for-milliseconds
Add calculation for milliseconds in a day
2 parents 597a510 + 365717f commit 8f678c8

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)