class Parent_Polygon {
constructor() {
this.height = 11;
this.width = 22;
}
}
var Child_Polygon = function(){
this.height = 331;
this.width = 44;
}
Parent_Polygon.Child_Polygon = Child_Polygon;
var myObj = new Parent_Polygon();
myObj.Child_Polygon();
console.log(myObj.height)