Improve debug messages
This commit is contained in:
@@ -120,7 +120,10 @@ function distanceFrom(locationA, locationB) {
|
|||||||
let r = 6371000;
|
let r = 6371000;
|
||||||
|
|
||||||
// calculate the result
|
// calculate the result
|
||||||
return `${(c * r).toFixed()} m`;
|
let result = `${(c * r).toFixed()} m`
|
||||||
|
|
||||||
|
console.debug('Result is ' + result);
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user