checks if bracket is a closer
//determines if closing for other bracket Type function isClosing(a, b){ a = a.slice(1, -1); b = b.slice(1, -1); return b[0] === "/" && b.slice(1) === a; }