projects
/
platform
/
upstream
/
js.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.0.0
[platform/upstream/js.git]
/
js
/
src
/
jit-test
/
tests
/
basic
/
testModuloWithNegative2.js
1
function f(v, e) {
2
for (var i = 0; i < 9; i++)
3
v %= e;
4
return v;
5
}
6
f(0, 1);
7
assertEq(f(-2, 2), -0);