mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-26 15:13:56 +00:00
Merge pull request #3796 from lemusthelroy/patch-1
Typsecript/ts - Update typescript.html.markdown
This commit is contained in:
commit
def2eed165
@ -139,7 +139,7 @@ class Point3D extends Point {
|
|||||||
// Overwrite
|
// Overwrite
|
||||||
dist() {
|
dist() {
|
||||||
let d = super.dist();
|
let d = super.dist();
|
||||||
return Math.sqrt(d * d + this.z * this.z);
|
return Math.sqrt(d() * d() + this.z * this.z);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user