minor fixes
This commit is contained in:
parent
a3a1492ebc
commit
c01efda697
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ const pageLoadTime = /* time taken by a webpage to load */;
|
|||
|
||||
The value of `pageLoadTime` is not known prior to the page load, so it's named normally. But it's still a constant because it doesn't change after assignment.
|
||||
|
||||
In other words, capital-named constants are only used as aliases for "hard-coded" values.
|
||||
In other words, capital-named constants are only used as aliases for "hard-coded" values.
|
||||
|
||||
## Name things right
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue