Sign in
webkit
/
WebKit
/
8811b522c4d9fd9fbebc2e2caf8f1ebff78163f9
/
.
/
JSTests
/
es6
/
function_name_property_bound_functions.js
blob: 0b14b9741d3793a2ed7e380bf90dbf4545f6216b [
file
] [
log
] [
blame
]
function
test
()
{
function
foo
()
{};
return
foo
.
bind
({}).
name
===
"bound foo"
&&
(
function
(){}).
bind
({}).
name
===
"bound "
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);