Created
May 11, 2015 14:11
-
-
Save phpnode/876dc3e5a75469f57c1d 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
function demo (input: Array<number>): Array<number> { | |
return function blah () { | |
return function foo () { | |
return input.map(item => item + 1).map(item => item + 2); | |
}; | |
}; | |
} |
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
"use strict"; | |
function demo(input) { | |
return _ref4; | |
function _ref3() { | |
return input.map(_ref).map(_ref2); | |
} | |
} | |
function _ref(item) { | |
return item + 1; | |
} | |
function _ref2(item) { | |
return item + 2; | |
} | |
function _ref4() { | |
return _ref3; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment