mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
Fix _.extend regression in IE < 9.
Former-commit-id: 65632fbbf3aaba0d9cd8578300f8025e311faff0
This commit is contained in:
@@ -248,11 +248,12 @@
|
||||
'init': 'object',
|
||||
'top':
|
||||
'for (var source, sourceIndex = 1, length = arguments.length; sourceIndex < length; sourceIndex++) {\n' +
|
||||
' source = arguments[sourceIndex]',
|
||||
' source = arguments[sourceIndex];\n' +
|
||||
(hasDontEnumBug ? ' if (source) {' : ''),
|
||||
'loopExp': 'index in source',
|
||||
'useHas': false,
|
||||
'inLoop': 'object[index] = source[index]',
|
||||
'bottom': '}'
|
||||
'bottom': (hasDontEnumBug ? ' }\n' : '') + '}'
|
||||
};
|
||||
|
||||
/** Reusable iterator options for `filter` and `reject` */
|
||||
|
||||
Reference in New Issue
Block a user