function Rect(w = 0,h = 0) { this.w = parseFloat(w); this.h = parseFloat(h); }