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