Sign in
webkit
/
WebKit
/
b0d7f9b249dd6483d6c7bc4f13c440c0842b7127
/
.
/
JSTests
/
es6
/
function_name_property_function_expressions.js
blob: a65a8ee14369224c89235003f62c45d0c26b839c [
file
] [
log
] [
blame
]
function
test
()
{
return
(
function
foo
(){}).
name
===
'foo'
&&
(
function
(){}).
name
===
''
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);