Merge pull request #3796 from lemusthelroy/patch-1

Typsecript/ts - Update typescript.html.markdown
This commit is contained in:
Divay Prakash 2020-01-31 01:50:36 +05:30 committed by GitHub
commit def2eed165
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
}