Returns the area of rect
rect
const rect = { width: 100, height: 100, x: 100, y: 100 };Rects.area(rect); Copy
const rect = { width: 100, height: 100, x: 100, y: 100 };Rects.area(rect);
Returns the area of
rect