Skip to content

Instantly share code, notes, and snippets.

@einarwh
Created Feb 12, 2013
Embed
What would you like to do?
Pseudo-code for functions composed to add three values in JavaScript. (The actual function composed by Mkay would consist entirely of anonymous functions.)
function() {
return greater-than-function
(
read-property-function("."),
plus-function(
plus-function(
plus-function(
0,
read-property-function("C")),
read-property-function("B")),
read-property-function("A"))
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment