JSFiddle - React, Tailwind, and code Playground

by Walter Rumsby

JavaScript

function Foo() {
    this.foo = 'foo', this.bar = this.foo + ' bar';
    
    alert(this.bar);
};

new Foo();