mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +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, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];
|
||||
* const array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];
|
||||
*
|
||||
* pullAllWith(array, [{ 'x': 3, 'y': 4 }], isEqual);
|
||||
* console.log(array);
|
||||
|
||||
Reference in New Issue
Block a user