JSFiddle - React, Tailwind, and code Playground

by xonev

HTML

<div></div>

JavaScript

var PrototypeObject = function () {
    $('div').append('<p>I am the prototype</p>');
};

var Child = function () {
    $('div').append('<p>I am the child</p>');
};
Child.prototype = PrototypeObject;
var child = new Child();