Skip to content

Instantly share code, notes, and snippets.

@Constellation
Created October 28, 2012 06:10
Show Gist options
  • Save Constellation/3967848 to your computer and use it in GitHub Desktop.
Save Constellation/3967848 to your computer and use it in GitHub Desktop.
// () => {
// hoge;
// }
//
// Of cource, [[Construct]] is not considered.
x = (function (bound, target) {
return function () {
return target.apply(bound, arguments);
};
}(this, function () {
hoge; // main
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment