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