PageRenderTime 14ms CodeModel.GetById 9ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/node_modules/babel-polyfill/node_modules/core-js/library/modules/_object-dps.js

https://bitbucket.org/worklabschd/bingle_customer2
JavaScript | 13 lines | 12 code | 1 blank | 0 comment | 1 complexity | 3d20241ac8b5b3a5962df76335856243 MD5 | raw file
 1var dP = require('./_object-dp');
 2var anObject = require('./_an-object');
 3var getKeys = require('./_object-keys');
 4
 5module.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {
 6  anObject(O);
 7  var keys = getKeys(Properties);
 8  var length = keys.length;
 9  var i = 0;
10  var P;
11  while (length > i) dP.f(O, P = keys[i++], Properties[P]);
12  return O;
13};