mirror of
https://github.com/github/codeql.git
synced 2026-04-01 13:18:20 +02:00
4 lines
79 B
TypeScript
4 lines
79 B
TypeScript
function distance({x: number, y: number}) {
|
|
return Math.sqrt(x*x + y*y);
|
|
}
|