diff --git a/spec.html b/spec.html index d035a9845a8..e085f265c56 100644 --- a/spec.html +++ b/spec.html @@ -6769,6 +6769,65 @@
_callbackfn_ should be a function that accepts two arguments. `groupBy` calls _callbackfn_ once for each element in _items_, in ascending order, and constructs a new object. Each value returned by _callbackfn_ is coerced to a property key. For each such property key, the result object has a property whose key is that property key and whose value is an array containing all the elements for which the _callbackfn_ return value coerced to that key.
+_callbackfn_ is called with two arguments: the value of the element and the index of the element.
+The return value of `groupBy` is an object that does not inherit from %Object.prototype%.
+This function performs the following steps when called:
+This function performs the following steps when called:
@@ -41755,6 +41832,25 @@_callbackfn_ should be a function that accepts two arguments. `groupBy` calls _callbackfn_ once for each element in _items_, in ascending order, and constructs a new Map of arrays. Each value returned by _callbackfn_ is used as a key in the Map. For each such key, the result Map has an entry whose key is that key and whose value is an array containing all the elements for which _callbackfn_ returned that key.
+_callbackfn_ is called with two arguments: the value of the element and the index of the element.
+The return value of `groupBy` is a Map.
+This function performs the following steps when called:
+The initial value of `Map.prototype` is the Map prototype object.