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