mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Update doc examples to ES2015.
This commit is contained in:
@@ -19,7 +19,7 @@ import getMatchData from './.internal/getMatchData.js';
|
||||
* @returns {boolean} Returns `true` if `object` is a match, else `false`.
|
||||
* @example
|
||||
*
|
||||
* var object = { 'a': 1, 'b': 2 };
|
||||
* const object = { 'a': 1, 'b': 2 };
|
||||
*
|
||||
* isMatch(object, { 'b': 2 });
|
||||
* // => true
|
||||
|
||||
Reference in New Issue
Block a user