251dea9dd5
R=szuend@chromium.org Fixes: chromium:718827 Change-Id: I261ce2cf692b5bcf88f4f7f67249ec49c837de4e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2241521 Reviewed-by: Simon Zünd <szuend@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#68337}
54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
Test scopes with variables in TDZ.
|
|
Debug break
|
|
Scope type: block
|
|
blockLet : undefined
|
|
blockConst : undefined
|
|
contextBlockLet : undefined
|
|
contextBlockConst : undefined
|
|
Scope type: script
|
|
scriptLet : undefined
|
|
scriptConst : undefined
|
|
Debug break
|
|
Scope type: local
|
|
Scope type: block
|
|
contextBlockLet : undefined
|
|
contextBlockConst : undefined
|
|
Scope type: script
|
|
scriptLet : undefined
|
|
scriptConst : undefined
|
|
Debug break
|
|
Scope type: block
|
|
blockLet : 1
|
|
blockConst : 2
|
|
contextBlockLet : 3
|
|
contextBlockConst : 4
|
|
Scope type: script
|
|
scriptLet : undefined
|
|
scriptConst : undefined
|
|
Debug break
|
|
Scope type: local
|
|
Scope type: block
|
|
contextBlockLet : 3
|
|
contextBlockConst : 4
|
|
Scope type: script
|
|
scriptLet : undefined
|
|
scriptConst : undefined
|
|
Debug break
|
|
Scope type: script
|
|
scriptLet : undefined
|
|
scriptConst : undefined
|
|
Debug break
|
|
Scope type: local
|
|
Scope type: script
|
|
scriptLet : undefined
|
|
scriptConst : undefined
|
|
Debug break
|
|
Scope type: script
|
|
scriptLet : 1
|
|
scriptConst : 2
|
|
Debug break
|
|
Scope type: local
|
|
Scope type: script
|
|
scriptLet : 1
|
|
scriptConst : 2
|