Skip to content

Commit

Permalink
Fixing a small bug in the eval() function
Browse files Browse the repository at this point in the history
  • Loading branch information
Razican committed Dec 25, 2021
1 parent a90a690 commit ac882f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ impl Context {
{
let main_timer = BoaProfiler::global().start_event("Main", "Main");

let parsing_result = Parser::new(src.as_ref(), self.strict)
let parsing_result = Parser::new(src.as_ref(), false)
.parse_all(&mut self.interner)
.map_err(|e| e.to_string());

Expand Down

0 comments on commit ac882f1

Please sign in to comment.