JSFiddle - React, Tailwind, and code Playground

by SimoneGianni

JavaScript

var __extends = (this && this.__extends) || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    __.prototype = b.prototype;
    d.prototype = new __();
};
var Acl = (function () {
    function Acl() {
        this.name = null;
    }
    Acl.prototype.greet = function () {
        return "hi " + this.name;
    };
    return Acl;
})();
var Bcl = (function (_super) {
    __extends(Bcl, _super);
    function Bcl() {
        _super.apply(this, arguments);
        this.surname = null;
    }
    return Bcl;
})(Acl);
var ctor = Bcl.prototype;
var i = 0;
while (ctor && i++ < 100) {
	console.log(ctor);
    ctor = Object.getPrototypeOf(ctor);
}