Skip to content
Myr

remove extra condition

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by iruca3 · committed by iruca3 · parent 4202907 · Browse files · 2 files+2 added−10 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−10 removed

  • other:+2 added−10 removed

2 files+2 added−10 removed

modified:src/es5.js+1 added-5 removed
154 unmodified lines
155export function finalizeArray(proxy, state) {156 const res = (state.copy = shallowCopy(proxy))157 const base = state.base158 each(res, (i, value) => {159 if (value !== base[i]) {160 res[i] = finalize(value)159 res[i] = finalize(value)161 } else {162 res[i] = finalize(res[i])163 }160 })161 return freeze(res)162}163
58 unmodified lines
modified:src/proxy.js+1 added-5 removed