JSFiddle - React, Tailwind, and code Playground

by amoiseev

JavaScript

function Car () {
    this.a = function () { console.log('A'); };
    this.b = function () { this.a(); };
}

var c = new Car();
c.a();
c.b();