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