blob: 5aebdf40576f4cce0ab5a6edb94fba307645cfd6 [file] [log] [blame]
Tests that console logging dumps large arrays properly.
console-big-array.js:18 Array(101)
[0 … 19]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15
16: 16
17: 17
18: 18
19: 19
[20 … 39]
20: 20
21: 21
22: 22
23: 23
24: 24
25: 25
26: 26
27: 27
28: 28
29: 29
30: 30
31: 31
32: 32
33: 33
34: 34
35: 35
36: 36
37: 37
38: 38
39: 39
[40 … 100]
40: 40
41: 41
100: 100
length: 101
__proto__: Array(0)
console-big-array.js:23 Array(10)
0: undefined
1: undefined
2: undefined
3: undefined
4: undefined
5: undefined
6: undefined
7: undefined
8: undefined
9: undefined
length: 10
__proto__: Array(0)
console-big-array.js:29 Array(101)
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
100: 100
length: 101
__proto__: Array(0)
console-big-array.js:34 Array(405)
[0 … 399]
[0 … 19]
[20 … 39]
[40 … 59]
[60 … 79]
[80 … 99]
[100 … 119]
[120 … 139]
[140 … 159]
[160 … 179]
[180 … 199]
[200 … 219]
[220 … 239]
[240 … 259]
[260 … 279]
[280 … 299]
[300 … 319]
[320 … 339]
[340 … 359]
[360 … 379]
[380 … 399]
[400 … 404]
400: 400
401: 401
402: 402
403: 403
404: 404
length: 405
__proto__: Array(0)
console-big-array.js:47 Array(124)
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
123: 123
-Infinity: -Infinity
3.14: 3.14
4294967295: 4294967295
4294967296: 4294967296
Infinity: Infinity
-123: -123
NaN: NaN
length: 124
__proto__: Array(0)
console-big-array.js:57 Array(4294967295)
[0 … 19]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
7: 7
8: 8
9: 9
10: 10
11: 11
12: 12
13: 13
14: 14
15: 15
16: 16
17: 17
18: 18
19: 19
[20 … 8388608]
20: 20
32: 32
64: 64
128: 128
256: 256
512: 512
1024: 1024
2048: 2048
4096: 4096
8192: 8192
16384: 16384
32768: 32768
65536: 65536
131072: 131072
262144: 262144
524288: 524288
1048576: 1048576
2097152: 2097152
4194304: 4194304
8388608: 8388608
[16777216 … 4294967294]
16777216: 16777216
33554432: 33554432
67108864: 67108864
134217728: 134217728
268435456: 268435456
536870912: 536870912
1073741824: 1073741824
2147483648: 2147483648
4294967294: 4294967294
4294967296: 4294967296
8589934592: 8589934592
length: 4294967295
__proto__: Array(0)
console-big-array.js:60 Uint8Array(64160003)
[0 … 63999999]
[0 … 3199999]
[3200000 … 6399999]
[6400000 … 9599999]
[9600000 … 12799999]
[12800000 … 15999999]
[16000000 … 19199999]
[19200000 … 22399999]
[22400000 … 25599999]
[25600000 … 28799999]
[28800000 … 31999999]
[32000000 … 35199999]
[35200000 … 38399999]
[38400000 … 41599999]
[41600000 … 44799999]
[44800000 … 47999999]
[48000000 … 51199999]
[51200000 … 54399999]
[54400000 … 57599999]
[57600000 … 60799999]
[60800000 … 63999999]
[64000000 … 64160002]
[64000000 … 64159999]
[64160000 … 64160002]
__proto__: TypedArray