massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / try-to-string.js
1 var global = require('../internals/global');
2
3 var String = global.String;
4
5 module.exports = function (argument) {
6   try {
7     return String(argument);
8   } catch (error) {
9     return 'Object';
10   }
11 };