Sign in
webkit
/
WebKit
/
613de0057ae64eb418820c1bd3d79d1fa91ab720
/
.
/
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"
);