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