mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Update doc examples to ES2015.
This commit is contained in:
@@ -15,7 +15,7 @@ import toKey from './.internal/toKey.js';
|
||||
* @returns {*} Returns the resolved value.
|
||||
* @example
|
||||
*
|
||||
* var object = { 'a': [{ 'b': { 'c1': 3, 'c2': constant(4) } }] };
|
||||
* const object = { 'a': [{ 'b': { 'c1': 3, 'c2': constant(4) } }] };
|
||||
*
|
||||
* result(object, 'a[0].b.c1');
|
||||
* // => 3
|
||||
|
||||
Reference in New Issue
Block a user