Created
March 18, 2019 12:12
-
-
Save YurkaninRyan/f53e142168ceb1c14f201a1ed2b51563 to your computer and use it in GitHub Desktop.
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
import double from "./double"; | |
// How were we supposed to know we get a second argument | |
// that has an onError function? | |
function doublePlusOne(x) { | |
// if double isn't a number, it will return a string! | |
return double(x) + 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment