mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 11:27:50 +00:00
Fix test fails in Node 0.12.
This commit is contained in:
@@ -4145,7 +4145,9 @@
|
|||||||
* @param {Object} object The object to inspect.
|
* @param {Object} object The object to inspect.
|
||||||
* @returns {Array} Returns the array of symbols.
|
* @returns {Array} Returns the array of symbols.
|
||||||
*/
|
*/
|
||||||
var getSymbols = getOwnPropertySymbols || constant([]);
|
var getSymbols = !getOwnPropertySymbols ? constant([]) : function(object) {
|
||||||
|
return object == null ? [] : getOwnPropertySymbols(toObject(object));
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the view, applying any `transforms` to the `start` and `end` positions.
|
* Gets the view, applying any `transforms` to the `start` and `end` positions.
|
||||||
|
|||||||
Reference in New Issue
Block a user