source:
trip-planner-front/node_modules/core-js/internals/to-string.js@
188ee53
Last change on this file since 188ee53 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 208 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | var isSymbol = require('../internals/is-symbol'); |
2 | ||
3 | module.exports = function (argument) { | |
4 | if (isSymbol(argument)) throw TypeError('Cannot convert a Symbol value to a string'); | |
5 | return String(argument); | |
6 | }; |
Note:
See TracBrowser
for help on using the repository browser.