JSFiddle - React, Tailwind, and code Playground
by spechackers
JavaScript
function A(name){this.name = name;}
A.prototype.x = 10;
var a = new A();
console.log("first ", a.constructor.prototype.x);
A.prototype = {
x: 200,
y: 100
}
console.log("second ", a.x);
console.log("thired ", a.y);