Files
ladybird/Tests/LibJS/Bytecode/expected/class-lhs-name-no-createvariable.txt
Andreas Kling fdd7809bd1 Tests/LibJS: Add a big pile of AST, bytecode, and runtime tests
Created these while experimenting with LibJS. Might as well bring them
into the tree and increase our coverage.
2026-02-17 20:44:57 +01:00

8 lines
411 B
Plaintext

JS bytecode executable ""
[ 0] 0: GetLexicalEnvironment dst:reg4
[ 8] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:0
[ 18] SetLexicalEnvironment environment:reg4
[ 20] NewClass dst:reg6, class_environment:reg5, class_blueprint_index:0, lhs_name:x, element_keys:[element_keys:String("method")]
[ 48] SetGlobal identifier:x, src:reg6
[ 58] End value:Undefined