JSFiddle - React, Tailwind, and code Playground

by evankennedy

JavaScript

var a = function() {};
var b = function() {};
var c = function() {};

b.prototype = new a();
c.prototype = new b();

console.log(new c() instanceof b, new c() instanceof a);