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