JSFiddle - React, Tailwind, and code Playground

by rudygotya

JavaScript

"use strict";
var a = function () {
    console.log( this );
    if( ! this ) {
        return new a;
    }
}
a.prototype.foo = function () {
    console.log(1)
};
var bar = a().foo();