diff --git a/1-js/06-advanced-functions/11-currying-partials/article.md b/1-js/06-advanced-functions/11-currying-partials/article.md index 717dccf4..e866f38a 100644 --- a/1-js/06-advanced-functions/11-currying-partials/article.md +++ b/1-js/06-advanced-functions/11-currying-partials/article.md @@ -95,7 +95,7 @@ user.sayNow = partial(user.say, new Date().getHours() + ':' + new Date().getMinu user.sayNow("Hello"); // Something like: -// [10:00] Hello, John! +// [10:00] John: Hello! ``` The result of `partial(func[, arg1, arg2...])` call is a wrapper `(*)` that calls `func` with: diff --git a/1-js/07-object-oriented-programming/02-property-accessors/article.md b/1-js/07-object-oriented-programming/02-property-accessors/article.md index db49450a..fa4d2216 100644 --- a/1-js/07-object-oriented-programming/02-property-accessors/article.md +++ b/1-js/07-object-oriented-programming/02-property-accessors/article.md @@ -128,7 +128,7 @@ Object.defineProperty(user, 'fullName', { alert(user.fullName); // John Smith -for(let key in user) alert(key); +for(let key in user) alert(key); // name, surname ``` Please note once again that a property can be either an accessor or a data property, not both.