Sign in
webkit
/
WebKit
/
5d02745b8400f22c08ff07eebb5126f6409ceb61
/
.
/
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
;
}