Javascript Push Element In Array Python