DEV Community

loading...

Discussion on: Stack Data Structure in Javascript

Collapse
ilya_sher_prog profile image
Ilya Sher • Edited

Poor code quality, do not learn from this

Does not check for underflow. Very thin wrapper around Array, providing close to zero additional functionality.

"Reversing a string" as not a good use case for this class.