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