JSFiddle - React, Tailwind, and code Playground

JavaScript

function A () {
    this.prop = 1;
}
function B () {
    this.prop = 1;
}

A.prototype = null;

var a = new A();
var b = new B();
console.log(a.__proto__);
console.log(b.__proto__);