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