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