Skip to content

Commit e2665be

Browse files
Can be const.
1 parent 2109045 commit e2665be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/board/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ export class Board {
383383
// For larger values we just display the last three digits.
384384
let digits = code.toString();
385385
digits = digits.slice(-3);
386-
let prefix = "0".repeat(3 - digits.length);
386+
const prefix = "0".repeat(3 - digits.length);
387387
digits = prefix + digits;
388388
const frames = [
389389
sad,

0 commit comments

Comments
 (0)