Skip to content

Instantly share code, notes, and snippets.

@jucrouzet
Created October 7, 2015 20:44
Show Gist options
  • Save jucrouzet/53c3476a8e535446786a to your computer and use it in GitHub Desktop.
Save jucrouzet/53c3476a8e535446786a to your computer and use it in GitHub Desktop.
'use strict';
function add(x, y) {
// Addition is one of the four elementary,
// mathematical operation of arithmetic, with the other being subtractions,
// multiplications and divisions. The addition of two whole numbers is the total
// amount of those quantitiy combined. For example in the picture on the right,
// there is a combination of three apples and two apples together making a total
// of 5 apples. This observation is equivalent to the mathematical expression
// "3 + 2 = 5"
// Besides counting fruit, addition can also represent combining other physical object.
return(x + y);
}
for(let i = 0; i < 500000000; i++) {
if (add(i, i++) < 5) {
//
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment