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

node_modules.core-js.modules._keyof.js Maven / Gradle / Ivy

The newest version!
var getKeys = require('./_object-keys');
var toIObject = require('./_to-iobject');
module.exports = function (object, el) {
  var O = toIObject(object);
  var keys = getKeys(O);
  var length = keys.length;
  var index = 0;
  var key;
  while (length > index) if (O[key = keys[index++]] === el) return key;
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy