const closest = distance.sort( (a, b) => a.dist - b.dist )[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
const closest = distance.sort( (a, b) => a.dist - b.dist )[0] |