Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.16 KB

File metadata and controls

35 lines (24 loc) · 1.16 KB

importance: 4


const didžiosiomis raidėmis?

Peržiūrėkite sekantį kodą:

const birthday = '18.04.1982';

const age = someCode(birthday);

<<<<<<< HEAD Mes turime konstantą birthday data ir amžius age yra paskaičiuojame pagal birthday tam tikro kodo pagalba (jis čia nepateiktas dėl glaustumo ir dėl to, kad tai nėra svarbu užduočiai).

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.

540d753e90789205fc6e75c502f68382c87dea9b

Ar būtų gerai naudoti didžiąsias raides birthday? O kaip dėl age? O galbūt netgi abiems?

<<<<<<< HEAD
const BIRTHDAY = '18.04.1982'; // perrašyti didžiosiomis raidėmis?

const AGE = someCode(BIRTHDAY); // perrašyti didžiosiomis raidėmis?
=======
const BIRTHDAY = '18.04.1982'; // make birthday uppercase?

const AGE = someCode(BIRTHDAY); // make age uppercase?
>>>>>>> 540d753e90789205fc6e75c502f68382c87dea9b