There was an error while loading. Please reload this page.
1 parent 9e1bced commit 449f9faCopy full SHA for 449f9fa
1 file changed
acorn/src/state.js
@@ -64,7 +64,7 @@ export class Parser {
64
65
// Figure out if it's a module code.
66
this.inModule = options.sourceType === "module"
67
- this.strict = this.inModule || options.strict == true || this.strictDirective(this.pos)
+ this.strict = this.inModule || options.strict === true || this.strictDirective(this.pos)
68
69
// Used to signify the start of a potential arrow function
70
this.potentialArrowAt = -1
0 commit comments