Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Understanding Stack and Queues in JavaScript (hashnode.dev)
6 points by UmehEmma on Nov 21, 2023 | hide | past | favorite | 1 comment


// Function to pop a value onto the stack this.pop = function() { this.stack.push(); };

I think he made some mess with his code X-D




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: