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