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