8 lines
285 B
JavaScript
8 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));
|
|
};
|