This commit is contained in:
Ilya Kantor 2019-03-23 02:22:11 +03:00
parent 92f7f1b8af
commit 706b1f26b2
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@ Once a property is defined with `get prop()` or `set prop()`, it's an accessor p
- If there's a getter -- we can read `object.prop`, othrewise we can't.
- If there's a setter -- we can set `object.prop=...`, othrewise we can't.
And in either case we can't `delete` an accessor property.
And in either case we can't `delete` an accessor property.
```

View file

@ -1,5 +1,5 @@
# Plain objects: no __proto__
# Prototype methods, objects without __proto__
In the first chapter of this section, we mentioned that there are modern methods to setup a prototype.