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
/
pic
/
self1.js
1
// getprop, self, 1 shape
2
3
var expected = "11,22,33,11,22,33,11,22,33,11,22,33,11,22,33,";
4
var actual = '';
5
6
function f() {
7
var o = { a: 11, b: 22, c: 33 };
8
9
for (var i = 0; i < 5; ++i) {
10
actual += o.a + ',';
11
actual += o.b + ',';
12
actual += o.c + ',';
13
}
14
}
15
16
f();
17
18
assertEq(actual, expected);