Modified outputs in advanced programming and OOP chapters

This commit is contained in:
Sunil B N 2018-03-26 23:13:55 +05:30
parent 9365275467
commit 7e183f85b1
2 changed files with 2 additions and 2 deletions

View file

@ -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.