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