summaryrefslogtreecommitdiffhomepage
path: root/typescript.html.markdown
diff options
context:
space:
mode:
authorcaminsha <c.96marco@hotmail.com>2020-01-31 03:24:14 +0100
committercaminsha <c.96marco@hotmail.com>2020-01-31 03:24:14 +0100
commit06b95ac17e6b48c58f5eb53c1aa8393fc4686d9c (patch)
tree25246d6961f3d8f5fefe0dddcfe64b31356761a0 /typescript.html.markdown
parent9b19efa3ce6c4797398dea585d9e4b5f13ae4060 (diff)
parent1ada1d35bb0d34afe41451c4921a7bb6c7ebe259 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'typescript.html.markdown')
-rw-r--r--typescript.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/typescript.html.markdown b/typescript.html.markdown
index 7e857cc0..640be0cd 100644
--- a/typescript.html.markdown
+++ b/typescript.html.markdown
@@ -139,7 +139,7 @@ class Point3D extends Point {
// Overwrite
dist() {
let d = super.dist();
- return Math.sqrt(d * d + this.z * this.z);
+ return Math.sqrt(d() * d() + this.z * this.z);
}
}