Sign in
dart
/
sdk.git
/
21036a2e6340c3db5d7948f7dbb5c712d1e00c0d
/
.
/
tests
/
compiler
/
dart2js
/
cps_ir
/
expected
/
operators2_3.js
blob: bf578b27148a6f822c437ec5aae6f868048aaed5 [
file
] [
log
] [
blame
]
// Expectation for test:
// // Method to test: function(foo)
// foo(a) => a % 13;
// main() {
// print(foo(5));
// print(foo(-100));
// }
function
(
a
)
{
var
result
=
a
%
13
;
return
result
===
0
?
0
:
result
>
0
?
result
:
result
+
13
;
}