Javascript Push Element In Array Python Definition