Solución
solution.tsTypeScript
export function distanceBetweenPoints(x1: number, y1: number, x2: number, y2: number): number {
// Escribe tu solución aquí
const x: number = x2 - x1;
const y: number = y2 - y1;
const d: number = Math.sqrt((x ** 2) + (y ** 2));
return Math.round(d * 10000) / 10000;
}0respuestas