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