Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created January 8, 2021 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codecademydev/5924ec74cc7c7ba101a6ec9824002f61 to your computer and use it in GitHub Desktop.
Save codecademydev/5924ec74cc7c7ba101a6ec9824002f61 to your computer and use it in GitHub Desktop.
Codecademy export
// My Current Age.
const myAge = 25;
//earlyYears.
let earlyYears = 2;
earlyYears *= 10.5;
let laterYears = myAge - 2;
laterYears *= 4;
console.log(earlyYears);
console.log(laterYears);
let myAgeInDogYears = earlyYears + laterYears;
let myName = "Junaid".toLowerCase();
console.log('My name is ${myName}. I am ${myAgeInDogYears} years old in dog years.');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment