I know that the following is valid in JavaScript:
function Rectangle(x, y, w, h) { this.x = x; this.y = y; this.w = w; this.h = h; } Rectangle.getRight =