JSFiddle - React, Tailwind, and code Playground
JavaScript
function TestObj()
{
this.sValue = "TEST";
}
TestObj.prototype.toString = function(){return this.sValue;}
var x = new TestObj();
alert(x);
function TestObj()
{
this.sValue = "TEST";
}
TestObj.prototype.toString = function(){return this.sValue;}
var x = new TestObj();
alert(x);