DEV Community

Discussion on: JS Coding Question #10: Is Balanced Parenthesis [Very Common Question]

Collapse
 
jonrandy profile image
Jon Randy 🎖️

Why not just:

return !stackLength
Enter fullscreen mode Exit fullscreen mode