You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here we have a constant `birthday` date and the `age` is calculated from `birthday` with the help of some code (it is not provided for shortness, and because details don't matter here).
15
+
Here we have a constant `birthday` for the date, and also the `age` constant.
16
+
17
+
The `age` is calculated from `birthday` using `someCode()`, which means a function call that we didn't explain yet (we will soon!), but the details don't matter here, the point is that `age` is calculated somehow based on the `birthday`.
16
18
17
19
Would it be right to use upper case for `birthday`? For `age`? Or even for both?
18
20
19
21
```js
20
-
constBIRTHDAY='18.04.1982'; // make uppercase?
22
+
constBIRTHDAY='18.04.1982'; // make birthday uppercase?
21
23
22
-
constAGE=someCode(BIRTHDAY); // make uppercase?
24
+
constAGE=someCode(BIRTHDAY); // make age uppercase?
0 commit comments