|
|
|
|
|
by rivd
4714 days ago
|
|
the c2 article speaks of the difference between dynamic scoping and acquisition as the former being dependent on call context and the latter on "where you put it". Can i conclude acquisition can be done in javascript by binding function objects ? var fn = somefunc.bind(other_object) Or is this still dynamic scoping because it only sets the value of this for fn ? |
|