Syntax to get same object that method was called on (Easy method chaining)
a.d.bergi at web.de
Mon Oct 26 13:55:20 UTC 2015
> `foo.bar.call(baz)#` would return `baz` because
>> (basically the `this` value of the method call)
That makes no sense. The method that is called here is `call`, and its
`this` value is `foo.bar`, which should be returned.
If I get it right, you want to extend the property accessor syntax, not
the function call one.
More information about the es-discuss