Instantiate Array Javascript Push Function Python Definition