source: imaps-frontend/node_modules/core-js/internals/to-string.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 259 bytes
Line 
1'use strict';
2var classof = require('../internals/classof');
3
4var $String = String;
5
6module.exports = function (argument) {
7 if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
8 return $String(argument);
9};
Note: See TracBrowser for help on using the repository browser.