JSFiddle - React, Tailwind, and code Playground
by aramk
JavaScript
function test() {
console.log('args 1', arguments);
return function() {
console.log('args 2', arguments);
other.apply(this, arguments);
}
}
function other() {
console.log('args 3', arguments);
}
test()(1,2,3);