first
This commit is contained in:
10
node_modules/core-js/internals/try-to-string.js
generated
vendored
Normal file
10
node_modules/core-js/internals/try-to-string.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
var $String = String;
|
||||
|
||||
module.exports = function (argument) {
|
||||
try {
|
||||
return $String(argument);
|
||||
} catch (error) {
|
||||
return 'Object';
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user