Last change
on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
261 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | var fails = require('./fails');
|
---|
| 2 |
|
---|
| 3 | module.exports = fails(function () {
|
---|
| 4 | // babel-minify transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
---|
| 5 | var re = RegExp('.', (typeof '').charAt(0));
|
---|
| 6 | return !(re.dotAll && re.exec('\n') && re.flags === 's');
|
---|
| 7 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.