Javascript Push And Pop Array Python W3schools