DEV Community

Discussion on: Implementing the Stack Data Structure in Javascript

Collapse
 
rajatkantinandi profile image
Rajat Kanti Nandi

JS has built in push & pop methods on Array prototype & those are more than enough for any stack use case.

Collapse
 
theoutlander profile image
Nick Karnik

This is not meant as a replacement. However, there is value in understanding underlying structures.