[Laszlo-dev] Proposal to tweak the behavior of attributes with a setter and an initial value
P T Withington
ptw at pobox.com
Mon Apr 20 08:27:26 PDT 2009
On 2009-04-18, at 19:44EDT, André Bargull wrote:
> 3) Another alternative would be "Object.prototype.__resolve".
> Surprisingly __resolve understands the difference between a property
> set to undefined and an undefined property.
Interesting. I did not know about this.
It's disappointing that __resolve doesn't get any information as to
whether the property lookup is for a method call or not. I'm a little
hesitant to use that because it will be so different from the other
runtimes, and _possibly_ someone may have an application that relies
on using __resolve.
[I think that es4 was going to have something like a catch-all getter,
but it was dropped from 3.1/5, maybe it will be back in Harmony...]
More information about the Laszlo-dev
mailing list