mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
Apply arrow function transform.
This commit is contained in:
@@ -27,7 +27,7 @@ import last from './last.js';
|
||||
* _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);
|
||||
* // => [{ 'x': 2, 'y': 1 }]
|
||||
*/
|
||||
var differenceWith = baseRest(function(array, values) {
|
||||
var differenceWith = baseRest((array, values) => {
|
||||
var comparator = last(values);
|
||||
if (isArrayLikeObject(comparator)) {
|
||||
comparator = undefined;
|
||||
|
||||
Reference in New Issue
Block a user