|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
376 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 | var fails = require('../internals/fails');
|
|---|
| 3 | var globalThis = require('../internals/global-this');
|
|---|
| 4 |
|
|---|
| 5 | // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|---|
| 6 | var $RegExp = globalThis.RegExp;
|
|---|
| 7 |
|
|---|
| 8 | module.exports = fails(function () {
|
|---|
| 9 | var re = $RegExp('.', 's');
|
|---|
| 10 | return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|---|
| 11 | });
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.