JSFiddle - React, Tailwind, and code Playground
JavaScript
'use strict'
function Cat(name,color){
this.name = name;
this.color =color;
}
Cat.prototype.age =5;
var fluffy = new Cat("fluffy","white");
var muffin = new Cat("muffin","red");
muffin.age = 6;
console.log(fluffy.age);
console.log(muffin.__proto__.age);