From 67fb9e479cb9ebd4715235402aa1e351633b1daa Mon Sep 17 00:00:00 2001 From: azim Date: Sat, 3 Mar 2018 15:35:38 +0200 Subject: [PATCH] minotfix: unnecessary if statement unnecessary statement since li-xinyang:patch-1 was merged --- data-structures/stack.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/data-structures/stack.js b/data-structures/stack.js index 8c856cd..08b4260 100644 --- a/data-structures/stack.js +++ b/data-structures/stack.js @@ -73,9 +73,6 @@ Stack.prototype.pop = function() { var value = this._storage[--this._count]; delete this._storage[this._count]; - if (this._count < 0) { - this._count = 0; - } return value; };