Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Razican committed Jan 29, 2022
1 parent 211c35d commit 6fbfb0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa/src/syntax/lexer/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ impl StringLiteral {
start_pos,
));
}

if is_strict_mode {
return Err(Error::syntax(
"octal escape sequences are not allowed in strict mode",
Expand Down

0 comments on commit 6fbfb0e

Please sign in to comment.