JSFiddle - React, Tailwind, and code Playground
JavaScript
function f1() {
var i;
// ...
for (i = 0; i < arguments.length; ++i)
{
if (typeof arguments[i] === 'function')
{
arguments[i].apply(this, arguments);
}
}
}
f1("alert me",function() {alert(arguments[0]);});