diff --git a/learn/javascript/classes.md b/learn/javascript/classes.md index ddd2a2b..cd945e3 100644 --- a/learn/javascript/classes.md +++ b/learn/javascript/classes.md @@ -252,7 +252,7 @@ Classes can extend from other classes. The extended class will receive all the p and it can define new methods and properties. The extended class cannot access private state or private methods from the parent class. If an extended class overrides the class constructor, it must call the original constructor by using `super()`. If the extended class overrides a method that exists on the parent class, it can optionally call -`super()`. +`super.()`. ```js class Point {