mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
4 lines
87 B
TypeScript
4 lines
87 B
TypeScript
function distance({x, y}: {x: number, y: number}) {
|
|
return Math.sqrt(x*x + y*y);
|
|
}
|