This commit is contained in:
Ilya Kantor 2019-05-11 11:28:46 +03:00
parent f8f3c948a4
commit f8570ae3a0
2 changed files with 5 additions and 5 deletions

View file

@ -453,7 +453,7 @@ let wrapper = function() {
}
```
We also saw an example of *method borrowing* when we take a method from an object and `call` it in the context of another object. It is quite common to take array methods and apply them to arguments. The alternative is to use rest parameters object that is a real array.
We also saw an example of *method borrowing* when we take a method from an object and `call` it in the context of another object. It is quite common to take array methods and apply them to `arguments`. The alternative is to use rest parameters object that is a real array.
There are many decorators there in the wild. Check how well you got them by solving the tasks of this chapter.