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