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