JSFiddle - React, Tailwind, and code Playground
by orchid1
JavaScript
function Person(){
this.name = "Edgar"
}
//here is where we omit the keyword new. Compare with the example above.
var man = Person();
//note how I am using window here instead of man
alert(window.name);// it will log "Edgar"