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