Skip to content

Commit

Permalink
fix a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Aug 17, 2021
1 parent 1f79e84 commit b1d2031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-js/internals/regexp-unsupported-ncg.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var fails = require('./fails');
var global = require('../internals/global');

// babel-minify and Closure Compiler transpiles RegExp('.', 'g') -> /./g and it causes SyntaxError
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
var $RegExp = global.RegExp;

module.exports = fails(function () {
Expand Down

0 comments on commit b1d2031

Please sign in to comment.