JSFiddle - React, Tailwind, and code Playground
JavaScript
function wtf(){
console.log(JSON.stringify(arguments));
// the ugly workaround
console.log(JSON.stringify(Array.prototype.slice.call(arguments)));
}
wtf(1,2,3,4);
wtf.apply(null, [1,2,3,4]);