Sign in
webkit
/
WebKit
/
b8c4f298d7fe8d2281848c37f3bdca0459587717
/
.
/
JSTests
/
es6
/
block-level_function_declaration.js
blob: 3d55198fd073c491c5a141579aeaeb6a08cfd430 [
file
] [
log
] [
blame
]
function
test
()
{
'use strict'
;
function
f
()
{
return
1
;
}
{
function
f
()
{
return
2
;
}
}
return
f
()
===
1
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);