Sign in
webkit
/
WebKit
/
6a59c200745aa2ef26b1e56c44297ddf7c28ff78
/
.
/
JSTests
/
es6
/
let_temporal_dead_zone_strict_mode.js
blob: 444cd67d89d15e8191633190b4ed164b05c884b5 [
file
] [
log
] [
blame
]
function
test
()
{
'use strict'
;
var
passed
=
(
function
(){
try
{
qux
;
}
catch
(
e
)
{
return
true
;
}}());
function
fn
()
{
passed
&=
qux
===
456
;
}
let qux
=
456
;
fn
();
return
passed
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);