Last active
December 21, 2015 22:38
-
-
Save iambowen/6376281 to your computer and use it in GitHub Desktop.
Node js implementation
nihaokid
commented
Aug 29, 2013
[1,2,3,4,5,6,7,8,9,10].filter(even_number).map(divide2)
function even_number(element){
return element % 2 == 0
}
function divide2(element){
return element / 2;
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment