JSFiddle - React, Tailwind, and code Playground
by sushanth009
JavaScript
function myFunction() {
this.value = 34;
}
var func = new myFunction();
alert(func.value); // this works
by sushanth009
function myFunction() {
this.value = 34;
}
var func = new myFunction();
alert(func.value); // this works