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