(destination)
| 272 | } |
| 273 | |
| 274 | function assign(destination) { |
| 275 | var source; |
| 276 | for (var i = 1; i < arguments.length; i++) { |
| 277 | source = arguments[i]; |
| 278 | for (var prop in source) { |
| 279 | if (has(source, prop)) { |
| 280 | destination[prop] = source[prop]; |
| 281 | } |
| 282 | } |
| 283 | } |
| 284 | return destination; |
| 285 | } |
| 286 | |
| 287 | // We need to make sure we support browsers that don't have |
| 288 | // `Array.isArray`, so we define a fallback here. |