Version 1
[yaffs-website] / node_modules / core-js / modules / _iobject.js
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 };