1.0.7 • Published 6 years ago
hexlet-points v1.0.7
js-points
Install
npm install @hexlet/points
Usage example
import {
makePoint, getX, getY, toString, quadrant,
} from '@hexlet/points';
const point = makePoint(4, 5);
toString(point); // (4, 5)
getX(point); // 4
getY(point); // 5
quadrant(point); // 1
For more information, see the Full Documentation