Added missing 'var' on variable declaration. (#35675)
This commit is contained in:
committed by
The Coding Aviator
parent
d9213b38cd
commit
cde8516688
@ -64,7 +64,6 @@ function LinkedList() {
|
|||||||
|
|
||||||
currentNode.next = node;
|
currentNode.next = node;
|
||||||
}
|
}
|
||||||
|
|
||||||
length++;
|
length++;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -73,7 +72,6 @@ function LinkedList() {
|
|||||||
// Only change code above this line
|
// Only change code above this line
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -65,7 +65,6 @@ function LinkedList() {
|
|||||||
|
|
||||||
currentNode.next = node;
|
currentNode.next = node;
|
||||||
}
|
}
|
||||||
|
|
||||||
length++;
|
length++;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -72,7 +72,6 @@ function LinkedList() {
|
|||||||
|
|
||||||
currentNode.next = node;
|
currentNode.next = node;
|
||||||
}
|
}
|
||||||
|
|
||||||
length++;
|
length++;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -65,7 +65,6 @@ function LinkedList() {
|
|||||||
|
|
||||||
currentNode.next = node;
|
currentNode.next = node;
|
||||||
}
|
}
|
||||||
|
|
||||||
length++;
|
length++;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -65,7 +65,6 @@ function LinkedList() {
|
|||||||
|
|
||||||
currentNode.next = node;
|
currentNode.next = node;
|
||||||
}
|
}
|
||||||
|
|
||||||
length++;
|
length++;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -65,7 +65,6 @@ function LinkedList() {
|
|||||||
|
|
||||||
currentNode.next = node;
|
currentNode.next = node;
|
||||||
}
|
}
|
||||||
|
|
||||||
length++;
|
length++;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user