first
This commit is contained in:
9
node_modules/core-js/internals/to-string.js
generated
vendored
Normal file
9
node_modules/core-js/internals/to-string.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
var classof = require('../internals/classof');
|
||||
|
||||
var $String = String;
|
||||
|
||||
module.exports = function (argument) {
|
||||
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
||||
return $String(argument);
|
||||
};
|
Reference in New Issue
Block a user