Skip to content

Instantly share code, notes, and snippets.

@alexeyraspopov
Created April 28, 2014 06:13
Show Gist options
  • Save alexeyraspopov/11362950 to your computer and use it in GitHub Desktop.
Save alexeyraspopov/11362950 to your computer and use it in GitHub Desktop.
function pick(property){
return (target) => target[property];
}
function property(target){
return (property) => target[property];
}
function invoke(method, args){
return (target) => target[method].apply(this, args);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment