projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b58db489722db04e7fdc50ecfe12e083f5cdc497
[yaffs-website]
/
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
};