Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions 1-js/02-first-steps/04-variables/3-uppercast-constant/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ importance: 4

---

# Uppercase const?
# ¿const mayúsculas?

Examine the following code:
Examina el siguiente código:

```js
const birthday = '18.04.1982';

const age = someCode(birthday);
```

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).
Aquí tenemos una constante `birthday` y `age` es calculada desde `birthday` con la ayuda de cierto código (no está provisto para abreviar y porque los detalles no importan aquí).

Would it be right to use upper case for `birthday`? For `age`? Or even for both?
¿Sería correcto usar mayúsculas para `birthday`? ¿Para `age`? ¿O incluso para ambos?

```js
const BIRTHDAY = '18.04.1982'; // make uppercase?
Expand Down