mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +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);
|
||
|
};
|