is PropertyName updated?

Yusuke SUZUKI utatane.tea at
Tue Aug 26 21:54:06 PDT 2014

Hi forks.

Seeing the latest rev 27 draft, PropertyName is defined in the 12.2.5,

PropertyName[Yield,GeneratorParameter] :
    [+GeneratorParameter] ComputedPropertyName
    [~GeneratorParameter] ComputedPropertyName[?Yield]

And BindingProperty in the ObjectBindingPattern is defined as follows,

BindingProperty[Yield,GeneratorParameter] :
    SingleNameBinding[?Yield, ?GeneratorParameter]
    PropertyName[?Yield, ?GeneratorParameter] : BindingElement[?Yield,

So, is it well-formed ECMAScript? Or simply it is not fixed yet?

var { [value] } = obj;

If it is well-formed, it means that we can define binding dynamically.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list