DEV Community

Discussion on: Creating 3 Stacks With 1 Array in JavaScript

Collapse
 
snowfrogdev profile image
Philippe Vaillancourt • Edited

I was thinking the same thing but then you would end up with a sparse array. I guess it's not that big a deal in JS.