the code of the reducer code template is broken

Array#push(newItem) returns not newArray but newItem.