JSFiddle - React, Tailwind, and code Playground
by spechackers
JavaScript
function A(name){this.name = name;}
function B(name){this.name = name;}
B.prototype = Object.create(A.prototype);
var b = new B();
console.log(B.constructor.prototype === A.prototype);