commit
6634181d6d
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ hash(1, 2);
|
|||
|
||||
The trick is called *method borrowing*.
|
||||
|
||||
We take (borrow) a join method from a regular array `[].join`. And use `[].join.call` to run it in the context of `arguments`.
|
||||
We take (borrow) a join method from a regular array (`[].join`) and use `[].join.call` to run it in the context of `arguments`.
|
||||
|
||||
Why does it work?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue