JSFiddle - React, Tailwind, and code Playground

by orchid1

JavaScript

function Person() {
    this.name = "Edgar";
}
var man = Person();
alert(window.name);//this will show the name of the window as "Edgar"