$.iobject.js 237 B

12345
  1. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  2. var cof = require('./$.cof');
  3. module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
  4. return cof(it) == 'String' ? it.split('') : Object(it);
  5. };