Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2019/ObjectDefineProperties.js
r0c6b92a r79a0317 1 1 'use strict'; 2 2 3 var callBound = require('call-b ind/callBound');3 var callBound = require('call-bound'); 4 4 5 5 var DefinePropertyOrThrow = require('./DefinePropertyOrThrow'); … … 10 10 var forEach = require('../helpers/forEach'); 11 11 var getOwnPropertyDescriptor = require('gopd'); 12 var OwnPropertyKeys = require(' ../helpers/OwnPropertyKeys');12 var OwnPropertyKeys = require('own-keys'); 13 13 14 14 var $push = callBound('Array.prototype.push'); 15 15 16 16 // https://262.ecma-international.org/6.0/#sec-objectdefineproperties 17 18 /** @type {<T extends Record<PropertyKey, unknown> = {}>(O: T, Properties: object) => T} */ 17 19 module.exports = function ObjectDefineProperties(O, Properties) { 18 20 var props = ToObject(Properties); // step 1 19 21 var keys = OwnPropertyKeys(props); // step 2 22 /** @type {[string | symbol, import('../types').Descriptor][]} */ 20 23 var descriptors = []; // step 3 21 24
Note:
See TracChangeset
for help on using the changeset viewer.