Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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