source:
node_modules/core-js-pure/internals/try-to-string.js
Last change on this file was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 162 bytes |
Rev | Line | |
---|---|---|
[d24f17c] | 1 | 'use strict'; |
2 | var $String = String; | |
3 | ||
4 | module.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.