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