Simplify getSymbols.

This commit is contained in:
jdalton
2015-04-10 19:56:38 -07:00
parent 020c5b27dc
commit 5b2bde6e0d

View File

@@ -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));
}; };
/** /**