debian-mirror-gitlab/core-js/internals/native-symbol.js
2019-09-25 13:30:05 +05:30

7 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());
});