2.0.0 • Published 10 years ago
nectar-leg v2.0.0
Nectar Leg
A fun little library for working with rectangles in JavaScript.
API
Nectar Leg takes four arguments: x, y, width, and height.
It also has two methods:
area: returns the area of the rectangleperimeter: returns the perimeter of the rectangle