Why we want to assign tagStack.length here if we're going to assign it to ``tagStack.length - 1`` in the for loop?