| ▲ | Rohansi 4 hours ago | ||||||||||||||||
The function reference is actually evaluated first so your preferred order is actually backwards! Consider this:
The `foo.bar` field has to be retrieved before the function can be called. It does not evaluate `x` first. That is observable with JS proxies, or you can test with code like this: | |||||||||||||||||
| ▲ | LtWorf 3 hours ago | parent [-] | ||||||||||||||||
Executing the "." operator isn't the same as executing the function. | |||||||||||||||||
| |||||||||||||||||