JSFiddle - React, Tailwind, and code Playground

JavaScript

// This comes from the obfuscated external Javascript library.
	// It creates a global object "foo".
	(function () {
		foo = {};
		foo.bar = function (e) {
			return function () {
				var a5 = arguments.callee;
				while (a5) {
					a5 = a5.caller
				}
			}
		}("any value here");
	})();

	// Here's my code.
	(function() {
		"use strict";

		foo.bar();
		alert("done");
	})();