diff options
author | Divay Prakash <divayprakash@users.noreply.github.com> | 2020-01-31 01:50:36 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-31 01:50:36 +0530 |
commit | def2eed1654dab89e3af0a0adddf736e335a2068 (patch) | |
tree | d88c6bfede72fc148539f0cd827419461cb82fa2 /typescript.html.markdown | |
parent | c25ff35503aac6377f5c574596b30df7cfc01b7e (diff) | |
parent | 5a57d01d05d1b53a8e2eb267ecc56ddbd75a6d46 (diff) |
Merge pull request #3796 from lemusthelroy/patch-1
Typsecript/ts - Update typescript.html.markdown
Diffstat (limited to 'typescript.html.markdown')
-rw-r--r-- | typescript.html.markdown | 2 |
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); } } |