开发者

How to create effecient stack implementation in javascript?

开发者 https://www.devze.com 2022-12-19 17:42 出处:网络
I need a good stack implementation in JS. Pref j开发者_运维技巧query Please helpYou should be able to use an Array, as it contains the methods push and pop. If required you could write a wrapper arou

I need a good stack implementation in JS. Pref j开发者_运维技巧query

Please help


You should be able to use an Array, as it contains the methods push and pop. If required you could write a wrapper around it to hide the fact it is an array.

0

精彩评论

暂无评论...
验证码 换一张
取 消