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