JSFiddle - React, Tailwind, and code Playground

by evan

JavaScript

window.show = "This is the value of 'show' that's attached to 'window'.";

var myObject = {
    whatIs: this.show,
    show: "this is the value of 'show' that's attached to 'myObject'."
};
    
    
alert(myObject.whatIs);