Write a constructor function called Rectangle with arguments upperLeft and lowerRight, in that order, which are both Vector2 objects (see code for definition). Assume that positive y is down, as is typical in computer graphics. Rectangle objects should have an isInside(v) method that takes a Vector2 argument and returns true if point v is in the rectangle and false otherwise.

javascript programming
exercise: methods 11