twoqueue

Two-array implementation of a queue

Twoqueue

Queue with enqueue(), dequeue(), and dequeueMultiple().

Two arrays used as stacks. I tested this to be the fastest implementation on V8.