File: typedArrays-es6.types

package info (click to toggle)
node-typescript 5.0.4%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 459,116 kB
  • sloc: javascript: 1,972,754; makefile: 6; sh: 1
file content (110 lines) | stat: -rw-r--r-- 2,638 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
=== tests/cases/compiler/typedArrays-es6.ts ===
const float32Array = new Float32Array(1);
>float32Array : Float32Array
>new Float32Array(1) : Float32Array
>Float32Array : Float32ArrayConstructor
>1 : 1

[...float32Array];
>[...float32Array] : number[]
>...float32Array : number
>float32Array : Float32Array

const float64Array = new Float64Array(1);
>float64Array : Float64Array
>new Float64Array(1) : Float64Array
>Float64Array : Float64ArrayConstructor
>1 : 1

[...float64Array];
>[...float64Array] : number[]
>...float64Array : number
>float64Array : Float64Array

const int16Array = new Int16Array(1);
>int16Array : Int16Array
>new Int16Array(1) : Int16Array
>Int16Array : Int16ArrayConstructor
>1 : 1

[...int16Array];
>[...int16Array] : number[]
>...int16Array : number
>int16Array : Int16Array

const int32Array = new Int32Array(1);
>int32Array : Int32Array
>new Int32Array(1) : Int32Array
>Int32Array : Int32ArrayConstructor
>1 : 1

[...int32Array];
>[...int32Array] : number[]
>...int32Array : number
>int32Array : Int32Array

const int8Array = new Int8Array(1);
>int8Array : Int8Array
>new Int8Array(1) : Int8Array
>Int8Array : Int8ArrayConstructor
>1 : 1

[...int8Array];
>[...int8Array] : number[]
>...int8Array : number
>int8Array : Int8Array

const nodeList = new NodeList();
>nodeList : NodeList
>new NodeList() : NodeList
>NodeList : { new (): NodeList; prototype: NodeList; }

[...nodeList];
>[...nodeList] : Node[]
>...nodeList : Node
>nodeList : NodeList

const uint16Array = new Uint16Array(1);
>uint16Array : Uint16Array
>new Uint16Array(1) : Uint16Array
>Uint16Array : Uint16ArrayConstructor
>1 : 1

[...uint16Array];
>[...uint16Array] : number[]
>...uint16Array : number
>uint16Array : Uint16Array

const uint32Array = new Uint32Array(1);
>uint32Array : Uint32Array
>new Uint32Array(1) : Uint32Array
>Uint32Array : Uint32ArrayConstructor
>1 : 1

[...uint32Array];
>[...uint32Array] : number[]
>...uint32Array : number
>uint32Array : Uint32Array

const uint8Array = new Uint8Array(1);
>uint8Array : Uint8Array
>new Uint8Array(1) : Uint8Array
>Uint8Array : Uint8ArrayConstructor
>1 : 1

[...uint8Array];
>[...uint8Array] : number[]
>...uint8Array : number
>uint8Array : Uint8Array

const uint8ClampedArray = new Uint8ClampedArray(1);
>uint8ClampedArray : Uint8ClampedArray
>new Uint8ClampedArray(1) : Uint8ClampedArray
>Uint8ClampedArray : Uint8ClampedArrayConstructor
>1 : 1

[...uint8ClampedArray];
>[...uint8ClampedArray] : number[]
>...uint8ClampedArray : number
>uint8ClampedArray : Uint8ClampedArray