TIL that Math.hypot exists in the JS standard library.
I don’t know anything about geometry, but a coworker opened a PR that used it to do some animation math, and it was cool to be able to ask an LLM to explain what that function was accomplishing in that context