7 lines
217 B
JavaScript
7 lines
217 B
JavaScript
// to indexed object, toObject with fallback for non-array-like ES3 strings
|
|
var IObject = require('./_iobject');
|
|
var defined = require('./_defined');
|
|
module.exports = function (it) {
|
|
return IObject(defined(it));
|
|
};
|