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