Returns the perimeter of rect (ie. sum of all edges)
rect
Copy
const rect = { width: 100, height: 100, x: 100, y: 100 }; Rects.perimeter(rect);
Returns the perimeter of
rect
(ie. sum of all edges)const rect = { width: 100, height: 100, x: 100, y: 100 }; Rects.perimeter(rect);