Ignore:
Timestamp:
01/21/25 03:08:24 (3 days ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
0c6b92a
Message:

F4 Finalna Verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/es-abstract/2015/ObjectDefineProperties.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var callBound = require('call-bind/callBound');
     3var callBound = require('call-bound');
    44
    55var DefinePropertyOrThrow = require('./DefinePropertyOrThrow');
     
    1010var forEach = require('../helpers/forEach');
    1111var getOwnPropertyDescriptor = require('gopd');
    12 var OwnPropertyKeys = require('../helpers/OwnPropertyKeys');
     12var OwnPropertyKeys = require('own-keys');
    1313
    1414var $push = callBound('Array.prototype.push');
    1515
    1616// https://262.ecma-international.org/6.0/#sec-objectdefineproperties
     17
     18/** @type {<T extends Record<PropertyKey, unknown> = {}>(O: T, Properties: object) => T} */
    1719module.exports = function ObjectDefineProperties(O, Properties) {
    1820        var props = ToObject(Properties); // step 1
    1921        var keys = OwnPropertyKeys(props); // step 2
     22        /** @type {[string | symbol, import('../types').Descriptor][]} */
    2023        var descriptors = []; // step 3
    2124
Note: See TracChangeset for help on using the changeset viewer.