Sign in
webkit
/
WebKit
/
51972bd7547e172b0df1f6839bf46f5093904ce3
/
.
/
JSTests
/
es6
/
function_name_property_variables_function.js
blob: 13b7cf8eccb932e31191c3b8984c7dc4dc8ebc96 [
file
] [
log
] [
blame
]
function
test
()
{
var
foo
=
function
()
{};
var
bar
=
function
baz
()
{};
return
foo
.
name
===
"foo"
&&
bar
.
name
===
"baz"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);