9 lines
299 B
JavaScript
9 lines
299 B
JavaScript
|
'use strict';
|
||
|
// 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));
|
||
|
};
|