Truly independent web browser
$eaaf591d block-scoped-function-no-tdz.js:1:1
Registers: 7
Blocks: 1
Constants:
[0] = Undefined
[1] = String("use strict")
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
[ 4] Mov dst:reg5, src:String("use strict")
[ 7] GetGlobal value_feedback:0, dst:reg6, `test`
[ f] Call call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
[ 16] End value:reg5
test$2fd18eb5 block-scoped-function-no-tdz.js:3:9
Registers: 6
Blocks: 1
Locals: result~0, foo~1
Constants:
[0] = Undefined
block0:
[ 0] Enter
[ 1] Mov dst:result~0, src:Undefined
[ 4] NewFunction dst:foo~1, shared_function_data_index:0
[ b] Call call_feedback:0, dst:result~0, callee:foo~1, this_value:Undefined
[ 12] Return value:result~0
foo$665150bf block-scoped-function-no-tdz.js:5:26
Registers: 5
Blocks: 1
Constants:
[0] = Int32(42)
block0:
[ 0] Enter
[ 1] Return value:Int32(42)