Commit 6c718af
authored
fix: "use strict" should not trigger strict mode in es3. (#547)
* fix: "use strict" should not trigger strict mode in es3.
fixes eslint/eslint#15456
* chore: add func strict1 parent e5982ef commit 6c718af
7 files changed
Lines changed: 702 additions & 2 deletions
File tree
- tests/fixtures/ecma-version/3/strict
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments