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
/
testBug579647.js
1
expected = "TypeError: NaN is not a function";
2
actual = "";
3
4
try {
5
a = ""
6
for each(x in [0, 0, 0, 0]) {
7
a %= x
8
} ( - a)()
9
} catch (e) {
10
actual = '' + e;
11
}
12
13
assertEq(expected, actual);