Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created April 14, 2020 21:32
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/ee8d4956c862d6e2883a778629348a30 to your computer and use it in GitHub Desktop.
Save codecademydev/ee8d4956c862d6e2883a778629348a30 to your computer and use it in GitHub Desktop.
Codecademy export
const checkThatTwoPlusTwoEqualsFourAMillionTimes = () => {
for(let i = 1; i <= 1000000; i++) {
if ( (2 + 2) != 4) {
console.log('Something has gone very wrong :( ');
}
}
}
// Write your code below
const is2p2 = checkThatTwoPLusTwoEqualsFourAMillionTimes;
is2p2();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment