@@isConcatSpreadable

Claude Pache claude.pache at gmail.com
Wed Jun 3 10:38:41 UTC 2015


> Le 3 juin 2015 à 11:08, Axel Rauschmayer <axel at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150603/2e7462d5/attachment.html>


More information about the es-discuss mailing list