Sign in
webkit
/
WebKit
/
3edaba2ba8773ca7f680c84dc462d786504282f8
/
.
/
JSTests
/
es6
/
let_is_block-scoped.js
blob: 70fed14b5e99cf78191564bdf151b8985fd3a4a5 [
file
] [
log
] [
blame
]
function
test
()
{
let bar
=
123
;
{
let bar
=
456
;
}
return
bar
===
123
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);