2017-04-06 15:51:17 +02:00

5 lines
84 B
JavaScript

function test(fn) {
return async (...args) => {
return fn(...args);
};
}