📦WaitingList

data structure ⟩ WaitingList

a Stack or a Queue.

new WaitingList('stack', 1, 2, 3);    // mode = 'stack'
new WaitingList('queue');             // mode = 'queue'

Last updated