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
/
bug524826.js
1
var x = 42;
2
function f() {
3
var a = [new Date, new Date, new Date, new Date, new Date];
4
for (var i = 0; i < 5; i++)
5
a[i].m = function () {return x};
6
for (i = 0; i < 4; i++)
7
if (a[i].m == a[i+1].m)
8
throw "FAIL!";
9
}
10
f();