mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Update doc examples to ES2015.
This commit is contained in:
@@ -10,8 +10,8 @@ import baseGet from './.internal/baseGet.js';
|
||||
* @returns {Function} Returns the new accessor function.
|
||||
* @example
|
||||
*
|
||||
* var array = [0, 1, 2],
|
||||
* object = { 'a': array, 'b': array, 'c': array };
|
||||
* const array = [0, 1, 2];
|
||||
* const object = { 'a': array, 'b': array, 'c': array };
|
||||
*
|
||||
* map(['a[2]', 'c[0]'], propertyOf(object));
|
||||
* // => [2, 0]
|
||||
|
||||
Reference in New Issue
Block a user