Course · Section 3: JavaScript Fundamentals – Part 2 · Lecture 45: Object Methods
Implement `rectangleArea(w, h)` by building an object with width, height, and an `area()` method that uses `this`, then return its area.
+ 1 hidden test run on Submit.
An object method uses this to reach the object's own width and height.
Run your code to see results.