-
-
Save codecademydev/ee8d4956c862d6e2883a778629348a30 to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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