JSFiddle - React, Tailwind, and code Playground

by NibblyPig

JavaScript

var x = 3;

function something ()
{
  this.go = function() { alert(x); }
}

var a = new something();

a.go();