Merge branch 'master' into improve-bubble-sort

This commit is contained in:
Albert Still
2018-05-24 16:12:13 +10:00
committed by GitHub

View File

@ -16,7 +16,7 @@ export default class Stack {
* @return {*} * @return {*}
*/ */
peek() { peek() {
if (!this.linkedList.tail) { if (this.isEmpty()) {
return null; return null;
} }