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