85561d6616
This CL refines https://crrev.com/c/3829539 to only apply to let and const declared variables. `var`s should stay `undefined`. R=jarin@chromium.org Bug: chromium:1328681 Change-Id: I35778c89fb04439348a4f6aebcdeb2db6234f9d0 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3848960 Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> Commit-Queue: Simon Zünd <szuend@chromium.org> Cr-Commit-Position: refs/heads/main@{#82640}
14 lines
381 B
Plaintext
14 lines
381 B
Plaintext
Test scopes with unavailable values
|
|
|
|
Running test: testTemporalDeadZone
|
|
variable y correctly reported as <value_unavailable>
|
|
|
|
Running test: testOptimizedOut
|
|
variable y correctly reported as <value_unavailable>
|
|
|
|
Running test: testUnusedValueInTdz
|
|
variable y correctly reported as <value_unavailable>
|
|
|
|
Running test: testVarStaysUndefined
|
|
variable y correctly reported as <undefined>
|