JSFiddle - React, Tailwind, and code Playground
by Alex Insayt
JavaScript
function Shape(){
console.log('shape');
}
function Rect(){
Shape.call(this);
console.log('Rect');
}
Rect.prototype = Object.create(Shape.prototype);
var r = new Rect();