mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Update doc examples to ES2015.
This commit is contained in:
@@ -15,7 +15,7 @@ import basePullAll from './.internal/basePullAll.js';
|
||||
* @returns {Array} Returns `array`.
|
||||
* @example
|
||||
*
|
||||
* var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];
|
||||
* const array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];
|
||||
*
|
||||
* pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');
|
||||
* console.log(array);
|
||||
|
||||
Reference in New Issue
Block a user