source: node_modules/core-js-pure/internals/try-to-string.js@ 65b6638

main
Last change on this file since 65b6638 was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 162 bytes
Line 
1'use strict';
2var $String = String;
3
4module.exports = function (argument) {
5 try {
6 return $String(argument);
7 } catch (error) {
8 return 'Object';
9 }
10};
Note: See TracBrowser for help on using the repository browser.