JSFiddle - React, Tailwind, and code Playground
JavaScript
function foo() {
//console.log(arguments[0]);
//var func = arguments[1];
//func();
console.log("foo")
}
function bar() {
console.log("world");
}
var FooHello = foo.bind(this, "hello");
var FooBar = FooHello.bind(this, bar);
FooBar();