importance: 4
Examinează următorul cod:
const birthday = '18.04.1982';
const age = someCode(birthday);Here we have a constant birthday for the date, and also the age constant.
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.
52c1e61915bc8970a950a3f59bd845827e49b4bf
age este calculată din birthday folosind someCode(), ceea ce înseamnă un apel de funcție pe care nu l-am explicat încă (o vom face în curând!), dar detaliile nu contează aici, ideea este că age este calculată cumva pe baza birthday.
Ar fi corect să folosim majuscule pentru birthday? Pentru age? Sau chiar pentru ambele?
<<<<<<< HEAD
const BIRTHDAY = '18.04.1982'; // facem BIRTHDAY cu majuscule?
const AGE = someCode(BIRTHDAY); // facem AGE cu majuscule?
=======
const BIRTHDAY = '18.04.1982'; // make birthday uppercase?
const AGE = someCode(BIRTHDAY); // make age uppercase?
>>>>>>> 52c1e61915bc8970a950a3f59bd845827e49b4bf