Sign in
webkit
/
WebKit
/
6fd14ef296a8be3b10d082813cd9f7c62299d564
/
.
/
JSTests
/
microbenchmarks
/
arrowfunction-call-in-function.js
blob: 03b0bba1d7b4b8b2cca3783612d82a440b92280b [
file
] [
log
] [
blame
]
function
bar
(
a
,
b
)
{
return
((
_a
,
_b
)
=>
_a
+
_b
)(
a
,
b
);
}
noInline
(
bar
);
for
(
let i
=
0
;
i
<
1000000
;
++
i
)
{
let result
=
bar
(
1
,
2
);
if
(
result
!=
3
)
throw
"Error: bad result: "
+
result
;
}