Skip to content

Commit 806c286

Browse files
committed
[squash] more uniform
1 parent 49bbdfc commit 806c286

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

lib/internal/util.js

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,19 @@ exports.promisify = promisify;
258258
exports.customPromisifyArgs = kCustomPromisifyArgsSymbol;
259259

260260
const intrinsic = {
261-
FunctionApply: Function.prototype.apply,
262-
FunctionCall: Function.prototype.call,
263-
ObjectAssign: Object.assign,
264-
ObjectSetPrototypeOf: Object.setPrototypeOf,
261+
Reflect: Reflect,
262+
ReflectMethods: Object.assign({}, Reflect),
263+
Function: Function,
264+
FunctionPrototype: Function.prototype,
265+
FunctionPrototypeMethods: Object.assign({}, Function.prototype),
265266
Object: Object,
267+
ObjectMethods: Object.assign({}, Object),
268+
ObjectPrototype: Object.prototype,
269+
ObjectPrototypeMethod: Object.assign({}, Object.prototype),
266270
Array: Array,
267-
ObjectPrototype: Object.assign({}, Object.prototype),
268-
ArrayPrototype: Object.assign({}, Array.prototype)
271+
ArrayMethods: Object.assign({}, Array),
272+
ArrayPrototype: Array.prototype,
273+
ArrayPrototypeMethods: Object.assign({}, Array.prototype)
269274
};
270275

271276
module.exports = exports = {

0 commit comments

Comments
 (0)