Last active
September 19, 2016 15:01
-
-
Save yetithefoot/8d03788c2f4baea79127a24936d99824 to your computer and use it in GitHub Desktop.
Junior Front-end Developer | Add function
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
function add(){ | |
// write your one-line implementation here | |
} | |
// should prints 7 | |
console.log(add(2,5)); | |
// should prints 7 | |
console.log(add(2)(5)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment