Changeset 289780 in webkit for trunk/Source/JavaScriptCore/builtins
- Timestamp:
- Feb 14, 2022, 4:14:28 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/builtins/ArrayPrototype.js
r287136 r289780 159 159 function groupBy(callback /*, thisArg */) 160 160 { 161 "use strict"; 162 161 163 var array = @toObject(this, "Array.prototype.groupBy requires that |this| not be null or undefined"); 162 164 var length = @toLength(array.length); … … 183 185 function groupByToMap(callback /*, thisArg */) 184 186 { 187 "use strict"; 188 185 189 var array = @toObject(this, "Array.prototype.groupByToMap requires that |this| not be null or undefined"); 186 190 var length = @toLength(array.length);
Note:
See TracChangeset
for help on using the changeset viewer.