%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/node_modules/@babel/runtime-corejs3/helpers/esm/
Upload File :
Create Path :
Current File : /var/www/html/node_modules/@babel/runtime-corejs3/helpers/esm/defaults.js

import _Object$getOwnPropertyNames from "@babel/runtime-corejs3/core-js/object/get-own-property-names";
import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js/object/get-own-property-descriptor";
import _Object$defineProperty from "@babel/runtime-corejs3/core-js/object/define-property";
export default function _defaults(obj, defaults) {
  var keys = _Object$getOwnPropertyNames(defaults);

  for (var i = 0; i < keys.length; i++) {
    var key = keys[i];

    var value = _Object$getOwnPropertyDescriptor(defaults, key);

    if (value && value.configurable && obj[key] === undefined) {
      _Object$defineProperty(obj, key, value);
    }
  }

  return obj;
}

Zerion Mini Shell 1.0