Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
657 B
17 lines
657 B
1 year ago
|
var global = require('../internals/global');
|
||
|
var uncurryThis = require('../internals/function-uncurry-this');
|
||
|
var fails = require('../internals/fails');
|
||
|
var classof = require('../internals/classof-raw');
|
||
|
|
||
|
var Object = global.Object;
|
||
|
var split = uncurryThis(''.split);
|
||
|
|
||
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
||
|
module.exports = fails(function () {
|
||
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
||
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
||
|
return !Object('z').propertyIsEnumerable(0);
|
||
|
}) ? function (it) {
|
||
|
return classof(it) == 'String' ? split(it, '') : Object(it);
|
||
|
} : Object;
|