mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-29 03:45:15 +00:00
7 lines
208 B
JavaScript
7 lines
208 B
JavaScript
|
var isSymbol = require('../internals/is-symbol');
|
||
|
|
||
|
module.exports = function (argument) {
|
||
|
if (isSymbol(argument)) throw TypeError('Cannot convert a Symbol value to a string');
|
||
|
return String(argument);
|
||
|
};
|