let point1 = [7, 2];
let point2 = [2, 5];
const d = new find_distance(point1, point2);
console.log("Distance Result:", d.distance());
// Output: 5.830951894845301-
Notifications
You must be signed in to change notification settings - Fork 0
YesnielX/typescript-find-distance-between-two-points
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
find the distance between two points with typescript