data structures – Circular buffer in JavaScript – Stack Overflow

Has anyone already implemented a circular buffer in JavaScript? How would you do that without having pointers?

Source: data structures – Circular buffer in JavaScript – Stack Overflow

Advertisements