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
/
bug584499-2.js
1
function f(x) {
2
var s = "a";
3
var last = "";
4
for (var i = 0; i < HOTLOOP + 2; i++) {
5
last = s[x];
6
}
7
return last;
8
}
9
10
f(0);
11
12
assertEq(f(1), undefined);