JS: Parser: Remove direct this.strict assignment

This commit is contained in:
Rasmus Wriedt Larsen
2024-04-09 14:40:25 +02:00
parent 1985dd629d
commit 16e2ac898f
2 changed files with 1 additions and 25 deletions

View File

@@ -3108,7 +3108,7 @@ public class Parser {
if (stmt != null) body.add(stmt);
if (first && allowStrict && this.isUseStrict(stmt)) {
oldStrict = this.strict;
this.setStrict(this.strict = true);
this.setStrict(true);
}
first = false;
}