Last In, First Out data structures for JavaScript. See docs. Parent is @aureooms/js-data-structures.
queue.push( 1 ) ;
queue.push( 2 ) ;
queue.push( 3 ) ;
queue.pop( ) ; // 3
queue.pop( ) ; // 2
queue.pop( ) ; // 1
:icecream: Last In, First Out data structures for JavaScript
JavaScriptAGPL-3.0
Last In, First Out data structures for JavaScript. See docs. Parent is @aureooms/js-data-structures.
queue.push( 1 ) ;
queue.push( 2 ) ;
queue.push( 3 ) ;
queue.pop( ) ; // 3
queue.pop( ) ; // 2
queue.pop( ) ; // 1