JSFiddle - React, Tailwind, and code Playground

JavaScript

window.toString = function () { return "WINDOW"; };
var myObject = { toString: function () { return "MY OBJECT"; } };
                 
(function () {
    alert("1: " + this);

    (function () {
        alert("2: " + this);
    })();
    
    (function () {
        alert("3: " + this);
    }).call(this);
}).call(myObject);