JSFiddle - React, Tailwind, and code Playground
JavaScript
var Func = function(){
this.x = "letter x";
console.log(this);
debugger;
return this;
}
var myFunc = new Func();
debugger;
var Func = function(){
this.x = "letter x";
console.log(this);
debugger;
return this;
}
var myFunc = new Func();
debugger;