mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Update doc examples to ES2015.
This commit is contained in:
2
unset.js
2
unset.js
@@ -12,7 +12,7 @@ import baseUnset from './.internal/baseUnset.js';
|
||||
* @returns {boolean} Returns `true` if the property is deleted, else `false`.
|
||||
* @example
|
||||
*
|
||||
* var object = { 'a': [{ 'b': { 'c': 7 } }] };
|
||||
* const object = { 'a': [{ 'b': { 'c': 7 } }] };
|
||||
* unset(object, 'a[0].b.c');
|
||||
* // => true
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user