Sign in
webkit
/
WebKit
/
ac6f99830016c7bf481617249819af59429a05a4
/
.
/
JSTests
/
es6
/
const_is_block-scoped.js
blob: 063bf41293ca220a3242513668daf77414af73a0 [
file
] [
log
] [
blame
]
function
test
()
{
const
bar
=
123
;
{
const
bar
=
456
;
}
return
bar
===
123
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);