Skip to content

Commit

Permalink
Merge pull request ryanmcdermott#320 from ychek/add-calculation-for-m…
Browse files Browse the repository at this point in the history
…illiseconds

Add calculation for milliseconds in a day
  • Loading branch information
ryanmcdermott authored Oct 7, 2020
2 parents 597a510 + 365717f commit 8f678c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ setTimeout(blastOff, 86400000);

```javascript
// Declare them as capitalized named constants.
const MILLISECONDS_IN_A_DAY = 86_400_000;
const MILLISECONDS_IN_A_DAY = 60 * 60 * 24 * 1000; //86400000;
setTimeout(blastOff, MILLISECONDS_IN_A_DAY);
```
Expand Down

0 comments on commit 8f678c8

Please sign in to comment.