From 7f706761236c5f372621a38111d023056a599461 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sun, 7 May 2023 11:51:33 +0200 Subject: [PATCH] LibJS: Revert to original text in spec See also: 36ff6187f6f5e67ba3f2085b5257ec1de10cf79b https://github.com/SerenityOS/serenity/pull/18682#issuecomment-1537249544 --- Userland/Libraries/LibJS/Bytecode/ASTCodegen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibJS/Bytecode/ASTCodegen.cpp b/Userland/Libraries/LibJS/Bytecode/ASTCodegen.cpp index 32c30cd23a..2c942e4b1d 100644 --- a/Userland/Libraries/LibJS/Bytecode/ASTCodegen.cpp +++ b/Userland/Libraries/LibJS/Bytecode/ASTCodegen.cpp @@ -159,7 +159,7 @@ Bytecode::CodeGenerationErrorOr ScopeNode::generate_bytecode(Bytecode::Gen }); }); - // 11. NOTE: No abnormal terminations occur after this algorithm step if the global object is an ordinary object. However, if the global object is a Proxy exotic object it may exhibit behaviors that cause abnormal terminations in some of the following steps. + // 11. NOTE: No abnormal terminations occur after this algorithm step if the global object is an ordinary object. However, if the global object is a Proxy exotic object it may exhibit behaviours that cause abnormal terminations in some of the following steps. // 12. NOTE: Annex B.3.2.2 adds additional steps at this point. // 12. Let strict be IsStrict of script.