JSFiddle - React, Tailwind, and code Playground

by sushanth009

JavaScript

function myFunction() {
    this.value = 34;
}

var func = new myFunction();

alert(func.value);  // this works