5351470cdb19ddbcc8c6e1ac31ded9f08fe09027
[platform/framework/web/crosswalk-tizen.git] /
1 [
2
3 ];
4
5 [1,2,3];
6
7 [1,2,[3,4,[5,6,[7,8,9]]]];
8
9 function fn(){
10     return [4,5,[6,  7 , 8 ]];
11 }
12
13 // issue #12
14 var tuples = [
15     // comment test
16     ["resolve", "done", "bla", "resolved"],
17         ["reject", "fail", "lorem", "rejected"],
18     [
19 ["lorem", "ipsum"]
20     ],
21 ["notify", "progress", "ipsum"]
22 ];
23
24 var x,
25   y = [
26     "a",
27     "b",
28     "c"
29   ];
30
31 // rocambole issue with sparse arrays
32 ;[,3,[,4]];
33 // sparse arrays indentation is tricky!
34 ;[
35 ,
36 3,
37 [,,
38 ,
39 4
40 ]];
41 ;[
42 ,
43 3,
44 [,
45 4
46 ]
47 ];
48
49 // issue #165 (MemberExpression)
50 [
51     "grunt-contrib-concat",
52     "grunt-contrib-watch",
53     "grunt-contrib-jshint",
54     "grunt-contrib-qunit"
55 ].forEach(function( task ) {
56     grunt.loadNpmTasks( task );
57 });
58
59 // issue #224
60 var fa = [ {
61 foo: 'bar',
62 baz: 'yak'
63 }, {
64 foo: '1',
65 baz: '2'
66 } ];
67
68 // issue #239
69 var data = [1,
70 2];