mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Simplify getSymbols.
This commit is contained in:
@@ -4147,7 +4147,7 @@
|
|||||||
* @returns {Array} Returns the array of symbols.
|
* @returns {Array} Returns the array of symbols.
|
||||||
*/
|
*/
|
||||||
var getSymbols = !getOwnPropertySymbols ? constant([]) : function(object) {
|
var getSymbols = !getOwnPropertySymbols ? constant([]) : function(object) {
|
||||||
return object == null ? [] : getOwnPropertySymbols(toObject(object));
|
return getOwnPropertySymbols(toObject(object));
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user