Make example more succinct

"PER" has the same meaning as "IN_A" but is less verbose
This commit is contained in:
James Tharpe 2021-03-29 08:38:27 -04:00 committed by GitHub
parent da76556c97
commit 753d6d8b33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,9 +100,9 @@ setTimeout(blastOff, 86400000);
```javascript
// Declare them as capitalized named constants.
const MILLISECONDS_IN_A_DAY = 60 * 60 * 24 * 1000; //86400000;
const MILLISECONDS_PER_DAY = 60 * 60 * 24 * 1000; //86400000;
setTimeout(blastOff, MILLISECONDS_IN_A_DAY);
setTimeout(blastOff, MILLISECONDS_PER_DAY);
```
**[ back to top](#table-of-contents)**