instead  of above if you could write

    out[value] = base[value] + (delta[value] || 0);

(just a suggestion)