Sign in
webkit
/
WebKit
/
6659f04ec3bbff1621ccf44eba2b60efe2e7781c
/
.
/
JSTests
/
es6
/
arrow_functions_cant_be_bound_can_be_curried.js
blob: 20dffaea60f03aa49027387d362bfd8ad2cad43a [
file
] [
log
] [
blame
]
function
test
()
{
var
d
=
{
x
:
"bar"
,
y
:
function
()
{
return
z
=>
this
.
x
+
z
;
}};
var
e
=
{
x
:
"baz"
};
return
d
.
y
().
bind
(
e
,
"ley"
)()
===
"barley"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);