Added missing 'var' on variable declaration. (#35675)
parent
d9213b38cd
commit
cde8516688
|
@ -64,7 +64,6 @@ function LinkedList() {
|
|||
|
||||
currentNode.next = node;
|
||||
}
|
||||
|
||||
length++;
|
||||
};
|
||||
|
||||
|
@ -73,7 +72,6 @@ function LinkedList() {
|
|||
// Only change code above this line
|
||||
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
</div>
|
||||
|
|
|
@ -65,7 +65,6 @@ function LinkedList() {
|
|||
|
||||
currentNode.next = node;
|
||||
}
|
||||
|
||||
length++;
|
||||
};
|
||||
|
||||
|
|
|
@ -72,7 +72,6 @@ function LinkedList() {
|
|||
|
||||
currentNode.next = node;
|
||||
}
|
||||
|
||||
length++;
|
||||
};
|
||||
|
||||
|
|
|
@ -65,7 +65,6 @@ function LinkedList() {
|
|||
|
||||
currentNode.next = node;
|
||||
}
|
||||
|
||||
length++;
|
||||
};
|
||||
|
||||
|
|
|
@ -65,7 +65,6 @@ function LinkedList() {
|
|||
|
||||
currentNode.next = node;
|
||||
}
|
||||
|
||||
length++;
|
||||
};
|
||||
|
||||
|
|
|
@ -65,7 +65,6 @@ function LinkedList() {
|
|||
|
||||
currentNode.next = node;
|
||||
}
|
||||
|
||||
length++;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue