All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.core-js.modules._create-property.js Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
'use strict';
var $defineProperty = require('./_object-dp');
var createDesc = require('./_property-desc');

module.exports = function (object, index, value) {
  if (index in object) $defineProperty.f(object, index, createDesc(0, value));
  else object[index] = value;
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy