JSFiddle - React, Tailwind, and code Playground

by Ben Watts

JavaScript

Example  = function()
{
 	this.Value = 10;   
}

Example.Create = function(params ) { 
    if(!params){
        return null;
    }
    return new Example();
}

var result = Example.Create();
alert(result);