Skip to content

Commit d451795

Browse files
authored
Update task.md
1 parent 022e944 commit d451795

File tree

1 file changed

+5
-5
lines changed
  • 1-js/02-first-steps/04-variables/3-uppercast-constant

1 file changed

+5
-5
lines changed

1-js/02-first-steps/04-variables/3-uppercast-constant/task.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@ importance: 4
44

55
# Uppercase const?
66

7-
Examine the following code:
7+
Undersøg følgende kode:
88

99
```js
1010
const birthday = '18.04.1982';
1111

1212
const age = someCode(birthday);
1313
```
1414

15-
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+
Her har du en konstant `birthday` dato og `age` bliver beregnet fra `birthday` ved hjælp af noget kode (den kode er ikke vist for klarhedens skyld - og fordi det ikke er vigtigt i eksemplet).
1616

17-
Would it be right to use upper case for `birthday`? For `age`? Or even for both?
17+
Vil det være rigtigt at bruge store bogstaver til `birthday`? Til `age`? Eller måske til begge?
1818

1919
```js
20-
const BIRTHDAY = '18.04.1982'; // make uppercase?
20+
const BIRTHDAY = '18.04.1982'; // lav til uppercase?
2121

22-
const AGE = someCode(BIRTHDAY); // make uppercase?
22+
const AGE = someCode(BIRTHDAY); // lav til uppercase?
2323
```
2424

0 commit comments

Comments
 (0)