diff --git a/spec.emu b/spec.emu index 9a32e85..23b343f 100644 --- a/spec.emu +++ b/spec.emu @@ -115,4 +115,30 @@ location: https://tc39.es/proposal-array-grouping/ + + +

Array.prototype [ @@unscopables ]

+

The initial value of the @@unscopables data property is an object created by the following steps:

+ + 1. Let _unscopableList_ be ! OrdinaryObjectCreate(*null*). + 1. Perform ! CreateDataPropertyOrThrow(_unscopableList_, *"at"*, *true*). + 1. Perform ! CreateDataPropertyOrThrow(_unscopableList_, *"copyWithin"*, *true*). + 1. Perform ! CreateDataPropertyOrThrow(_unscopableList_, *"entries"*, *true*). + 1. Perform ! CreateDataPropertyOrThrow(_unscopableList_, *"fill"*, *true*). + 1. Perform ! CreateDataPropertyOrThrow(_unscopableList_, *"find"*, *true*). + 1. Perform ! CreateDataPropertyOrThrow(_unscopableList_, *"findIndex"*, *true*). + 1. Perform ! CreateDataPropertyOrThrow(_unscopableList_, *"flat"*, *true*). + 1. Perform ! CreateDataPropertyOrThrow(_unscopableList_, *"flatMap"*, *true*). + 1. Perform ! CreateDataPropertyOrThrow(_unscopableList_, *"groupBy"*, *true*). + 1. Perform ! CreateDataPropertyOrThrow(_unscopableList_, *"groupByToMap"*, *true*). + 1. Perform ! CreateDataPropertyOrThrow(_unscopableList_, *"includes"*, *true*). + 1. Perform ! CreateDataPropertyOrThrow(_unscopableList_, *"keys"*, *true*). + 1. Perform ! CreateDataPropertyOrThrow(_unscopableList_, *"values"*, *true*). + 1. Return _unscopableList_. + +

This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.

+ +

The own property names of this object are property names that were not included as standard properties of `Array.prototype` prior to the ECMAScript 2015 specification. These names are ignored for `with` statement binding purposes in order to preserve the behaviour of existing code that might use one of these names as a binding in an outer scope that is shadowed by a `with` statement whose binding object is an Array.

+
+