> Le 3 juin 2015 à 11:08, Axel Rauschmayer <a...@rauschma.de> a écrit :
> 
> https://people.mozilla.org/~jorendorff/es6-draft.html#sec-array.prototype.concat
>  
> <https://people.mozilla.org/~jorendorff/es6-draft.html#sec-array.prototype.concat>
> 
> I’m not seeing @@isConcatSpreadable being used as a property key anywhere in 
> the spec.
> 
> Thanks!
> 
> Axel
> 

Look at the IsConcatSpreadable abstract operation:

https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isconcatspreadable

Note that, in absence of @@isConcatSpreadable property key, IsArray() is 
considered instead,
so that builtin objects and constructors defined in the spec do not need to use 
@@isConcatSpreadable in order to get the right semantics.

—Claude
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to