Rename variable.

pull/11/head
Attacktive 3 years ago
parent cccd23b6d2
commit 401175f1a4

@ -4,9 +4,9 @@ let historyIndex = 0;
export function list(): string { export function list(): string {
const array: Array<string> = []; const array: Array<string> = [];
for (const key in history) { for (const index in history) {
const value: string = history[key]; const value: string = history[index];
array.push(`${key}: ${value}`); array.push(`${index}: ${value}`);
} }
return array.join('\n'); return array.join('\n');

Loading…
Cancel
Save