diff --git a/1-js/04-object-basics/04-object-methods/article.md b/1-js/04-object-basics/04-object-methods/article.md index 362eadcc..eecdfbf7 100644 --- a/1-js/04-object-basics/04-object-methods/article.md +++ b/1-js/04-object-basics/04-object-methods/article.md @@ -98,7 +98,7 @@ It's common that an object method needs to access the information stored in the For instance, the code inside `user.sayHi()` may need the name of the `user`. -**To access the object, a method can use the `this` keyword.** +**To access the object, a method can use `this` keyword.** The value of `this` is the object "before dot", the one used to call the method. @@ -167,7 +167,7 @@ If we used `this.name` instead of `user.name` inside the `alert`, then the code ## "this" is not bound -In JavaScript, the "this" keyword behaves unlike most other programming languages. It can be used in any function. +In JavaScript, keyword `this` behaves unlike most other programming languages. It can be used in any function. There's no syntax error in the following example: