Merge pull request #1 from javascript-tutorial/master

Update from original
This commit is contained in:
gzmin 2019-05-15 16:16:33 +08:00 committed by GitHub
commit 89d81d369d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 152 additions and 127 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.