View Single Post
Old 01-20-2013, 09:09 PM   PM User | #4
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,449
Thanks: 0
Thanked 496 Times in 488 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
LIFO can use either push() and pop() or unshift() and shift() - which you use only affects which end of the array is which

FIFO can use either push() and shift() or unshift() and pop()
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is online now   Reply With Quote
Users who have thanked felgall for this post:
DDH (01-20-2013)