mirror of
https://github.com/github/codeql.git
synced 2026-01-31 07:12:57 +01:00
5 lines
96 B
JavaScript
5 lines
96 B
JavaScript
function distanceFromOrigin(point) {
|
|
var [x, x] = point;
|
|
return Math.sqrt(x*x + y*y);
|
|
}
|