mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 23:37:49 +00:00
Update doc examples to ES2015.
This commit is contained in:
@@ -17,8 +17,8 @@ import isIndex from './.internal/isIndex.js';
|
||||
* @returns {Array} Returns the new array of removed elements.
|
||||
* @example
|
||||
*
|
||||
* var array = ['a', 'b', 'c', 'd'];
|
||||
* var pulled = pullAt(array, [1, 3]);
|
||||
* const array = ['a', 'b', 'c', 'd'];
|
||||
* const pulled = pullAt(array, [1, 3]);
|
||||
*
|
||||
* console.log(array);
|
||||
* // => ['a', 'c']
|
||||
|
||||
Reference in New Issue
Block a user