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 753d6d8

Browse files
Make example more succinct
"PER" has the same meaning as "IN_A" but is less verbose
1 parent da76556 commit 753d6d8

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 によって変換されたページ (->オリジナル) /