Skip to content

Commit 3fd10a1

Browse files
committed
fixed chapter 12
1 parent 91ca5b4 commit 3fd10a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

12-chapter-Sorting-Algorithms.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class GenericArray {
6161

6262
// fastest sort algorithm for small data sets
6363
insertionSort() {
64-
var temp, inner;
64+
let temp, inner;
6565
for (let outer = 1; outer <= this.dataStore.length-1; outer++) {
6666
temp = this.dataStore[outer];
6767
inner = outer;

0 commit comments

Comments
 (0)