3 lines
88 B
JavaScript
3 lines
88 B
JavaScript
const call = (key, ...args) => context => context[key](...args);
|
|
module.exports = call;
|