[Project_owners] how to implement bounded stack in javascript?

Neil neil at parkwaycc.co.uk
Sun Apr 16 08:34:01 EDT 2006


Axel Hecht wrote:

> this._current is the last written element

But it's more typical for current to point to the next element to be 
overwritten.

One thing I overlooked is that your code numbers the elements with 0 as 
the oldest, whereas Eric wanted 0 as the newest.


More information about the Project_owners mailing list