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