JSFiddle - React, Tailwind, and code Playground
by ThiefMaster
JavaScript
var callingFn = function() {
var a = 99;
// remember, the eval can't sit here, must be outside
expect(this, function() {
alert(a);
});
};
var expect = function(context, callable) {
callable.call(context);
};
new callingFn();