We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b60faaa commit 432e486Copy full SHA for 432e486
1 file changed
src/vs/editor/common/core/uint.ts
@@ -10,7 +10,7 @@ export class Uint8Matrix {
10
public readonly cols: number;
11
12
constructor(rows: number, cols: number, defaultValue: number) {
13
- let data = new Uint8Array(rows * cols);
+ const data = new Uint8Array(rows * cols);
14
for (let i = 0, len = rows * cols; i < len; i++) {
15
data[i] = defaultValue;
16
}
@@ -85,8 +85,8 @@ export function toUint32(v: number): number {
85
86
87
export function toUint32Array(arr: number[]): Uint32Array {
88
- let len = arr.length;
89
- let r = new Uint32Array(len);
+ const len = arr.length;
+ const r = new Uint32Array(len);
90
for (let i = 0; i < len; i++) {
91
r[i] = toUint32(arr[i]);
92
0 commit comments