Spread Operator On Array Javascript Push Function In Python