JSFiddle - React, Tailwind, and code Playground
JavaScript
function xy (a,b) {
console.log(this);
}
xy.apply({f:3}, [1,2]);
xy.apply("hello", [1,2]);
function xy (a,b) {
console.log(this);
}
xy.apply({f:3}, [1,2]);
xy.apply("hello", [1,2]);