ES4 draft: Object initializers

P T Withington ptw at pobox.com
Fri Mar 21 05:14:55 PDT 2008


I can ask `o[f] !== undefined` to determine if a defined property  
named `f` exists in `o`, whether `f` is a fixture or not, correct?  If  
I only have `o`, is there a way for me to detect whether `f` is  
implemented as a getter in `o`, or is that completely invisible to me?

On 2008-03-20, at 19:42 EDT, Lars Hansen wrote:
> I've attempted to sum up everything we have decided about object
> initializers (aka object literals).  A short draft spec is included.
> Comments welcome from everyone, especially from ES4 WG members who  
> might
> remember about things I've forgotten, or correct misunderstandings.
>
> --lars
> <object-literals.html>_______________________________________________
> Es4-discuss mailing list
> Es4-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es4-discuss




More information about the Es4-discuss mailing list