mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Bump to v3.3.0.
This commit is contained in:
@@ -16,7 +16,9 @@ var hasOwnProperty = objectProto.hasOwnProperty;
|
||||
* @returns {boolean} Returns `true` if `key` is a direct property, else `false`.
|
||||
* @example
|
||||
*
|
||||
* _.has({ 'a': 1, 'b': 2, 'c': 3 }, 'b');
|
||||
* var object = { 'a': 1, 'b': 2, 'c': 3 };
|
||||
*
|
||||
* _.has(object, 'b');
|
||||
* // => true
|
||||
*/
|
||||
function has(object, key) {
|
||||
|
||||
Reference in New Issue
Block a user