Algorithm Of Push And Pop In Javascript W3schools