Sign in
webkit
/
WebKit
/
9f9c15eb6fdc193d77c7e606d643d4b8ec49399b
/
.
/
JSTests
/
es6
/
const_temporal_dead_zone.js
blob: aa0037cbee2a6127f816ace871228d80069b093a [
file
] [
log
] [
blame
]
function
test
()
{
var
passed
=
(
function
(){
try
{
qux
;
}
catch
(
e
)
{
return
true
;
}}());
function
fn
()
{
passed
&=
qux
===
456
;
}
const
qux
=
456
;
fn
();
return
passed
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);