Skip to content

Commit

Permalink
Lint and "future-proof"
Browse files Browse the repository at this point in the history
  • Loading branch information
laverdet committed May 2, 2023
1 parent 9439c1d commit 1a0dfd4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core-js/internals/symbol-constructor-detection.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
/* eslint-disable es/no-symbol -- required for testing */
var V8_VERSION = require('../internals/engine-v8-version');
var fails = require('../internals/fails');
var $String = String;
var global = require('../internals/global');

var $String = global.String;

// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
Expand Down

0 comments on commit 1a0dfd4

Please sign in to comment.