JSFiddle - React, Tailwind, and code Playground

JavaScript

var myObj = {
    name: "mike",
    go: function () {
        console.log(this.name);
    }

}

myObj.go();
setTimeout(function () {
    myObj.go()
}, 200);