Sign in
webkit
/
WebKit
/
068b4c01e91ec356a78d10dc04fb3ed10e825ea3
/
.
/
JSTests
/
es6
/
const_is_block-scoped_strict_mode.js
blob: f116c90af3db1e62642b067d009d510045883779 [
file
] [
log
] [
blame
]
function
test
()
{
'use strict'
;
const
bar
=
123
;
{
const
bar
=
456
;
}
return
bar
===
123
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);