JSFiddle - React, Tailwind, and code Playground

JavaScript

var Test = function() {
    console.log('aa');
}

(function() {
    this.anotherTest = function() {
        console.log('bb');
    }
}).call(Test.prototype);