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 Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 208 bytes
Line 
1var isSymbol = require('../internals/is-symbol');
2
3module.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.