Spread Operator On Array Javascript Push Function