Skip to content

Instantly share code, notes, and snippets.

@phpnode
Created May 11, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phpnode/876dc3e5a75469f57c1d to your computer and use it in GitHub Desktop.
Save phpnode/876dc3e5a75469f57c1d to your computer and use it in GitHub Desktop.
function demo (input: Array<number>): Array<number> {
return function blah () {
return function foo () {
return input.map(item => item + 1).map(item => item + 2);
};
};
}
"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