logo
logo

Rectangle Area

Beginner

Rectangle Area

Create an object called "rectangle" with properties "length" and "width". Add a method called "area" that returns the area of the rectangle (length multiplied by width).

Console
Submit
Solution
00:00