"use strict";

class Polygon {
  constructor(height, width) {
    this.height = height;
    this.width = width;
  }
}                      

var p = new Polygon (10,20);
console.log(p.height);
console.log(p.width);