views:

46

answers:

1

I need a good stack implementation in JS. Pref jquery

Please help

+7  A: 

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.

Yacoby