Echo/node_modules/core-js/internals/native-symbol.js
2021-02-11 21:31:41 +08:00

8 lines
243 B
JavaScript

var fails = require('../internals/fails');
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
// Chrome 38 Symbol has incorrect toString conversion
// eslint-disable-next-line no-undef
return !String(Symbol());
});