(target, source)
| 57273 | }; |
| 57274 | |
| 57275 | function assign(target, source) { |
| 57276 | for (var key in source) { |
| 57277 | // Note: `hasOwnProperty` is not needed here. |
| 57278 | target[key] = source[key]; |
| 57279 | } |
| 57280 | } |
| 57281 | |
| 57282 | function update(item, pattern) { |
| 57283 | // TODO: Test if memoizing `pattern` here is worth the effort. |