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