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