Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 20563d0

Browse files
Merge pull request #341 from jamestharpe/patch-1
Make example more succinct
2 parents da76556 + 753d6d8 commit 20563d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ setTimeout(blastOff, 86400000);
100100

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

105-
setTimeout(blastOff, MILLISECONDS_IN_A_DAY);
105+
setTimeout(blastOff, MILLISECONDS_PER_DAY);
106106
```
107107

108108
**[⬆ back to top](#table-of-contents)**

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /