JSFiddle - React, Tailwind, and code Playground

by Alex Alex

JavaScript

(function () {
  'use strict';
    var foo=function(){
        console.log(this);
    }
    var bar = {
        baz:foo,
    };
    var x = bar.baz;
    x();
})()