aff8ecd4bd77fa057c8ac39b092cca621327481d
[platform/framework/web/crosswalk-tizen.git] /
1 for ( key in obj )
2 {
3   doFoo(obj[key]);
4 }
5 // we do not remove line breaks! (we assume user knows what he is doing)
6 for ( key
7   in obj ) doFoo(obj[key]);
8
9 for ( var k in o )
10 {
11   console.log(k, o[k]);
12 }
13
14 for ( key in obj )
15 {
16   for ( prop in obj[key] )
17   {
18     //indent
19     console.log(prop)
20   }
21 }
22
23 // issue #13 : ForInStatement should not mess with inline object indent
24 function iss13() {
25   for ( i in {submit: true, change: true, focusin: true} )
26   {
27     console.log(i);
28   }
29 }
30
31 // line breaks and weird spaces
32 for ( key in obj )
33 {
34   doFoo(obj[key]);
35 }