JSFiddle - React, Tailwind, and code Playground
JavaScript
function a() {
this.hello = function() { alert("helloaa"); };
}
function b() { };
b.prototype = new a();
var b1 = new b();
b1.hello();
function a() {
this.hello = function() { alert("helloaa"); };
}
function b() { };
b.prototype = new a();
var b1 = new b();
b1.hello();