source:
trip-planner-front/node_modules/core-js/internals/to-string.js@
76712b2
Last change on this file since 76712b2 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 208 bytes |
Line | |
---|---|
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.