Skip to content

Commit 3bba892

Browse files
committedOct 18, 2023
reuse get-built-in-prototype-method in some entries
1 parent c68c6d7 commit 3bba892

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+162
-159
lines changed
 

‎packages/core-js/actual/array/virtual/group-by-to-map.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
require('../../../modules/es.map');
33
require('../../../modules/es.object.to-string');
44
require('../../../modules/esnext.array.group-by-to-map');
5-
var entryVirtual = require('../../../internals/entry-virtual');
5+
var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method');
66

7-
module.exports = entryVirtual('Array').groupByToMap;
7+
module.exports = getBuiltInPrototypeMethod('Array', 'groupByToMap');
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
22
require('../../../modules/esnext.array.group-by');
3-
var entryVirtual = require('../../../internals/entry-virtual');
3+
var getBuiltInPrototypeMethod = require('../../../internals/get-built-in-prototype-method');
44

5-
module.exports = entryVirtual('Array').groupBy;
5+
module.exports = getBuiltInPrototypeMethod('Array', 'groupBy');

0 commit comments

Comments
 (0)
Please sign in to comment.