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