debian-mirror-gitlab/core-js/internals/to-indexed-object.js
2019-09-25 13:30:05 +05:30

7 lines
285 B
JavaScript

// toObject with fallback for non-array-like ES3 strings
var IndexedObject = require('../internals/indexed-object');
var requireObjectCoercible = require('../internals/require-object-coercible');
module.exports = function (it) {
return IndexedObject(requireObjectCoercible(it));
};