const actions = ['a', 'b', 'c']; const newState = actions.reduce( ( (prevState, action) => prevState + action ) );