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