mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Bump to v4.0.0.
This commit is contained in:
18
internal/getSymbols.js
Normal file
18
internal/getSymbols.js
Normal file
@@ -0,0 +1,18 @@
|
||||
define([], function() {
|
||||
|
||||
/** Built-in value references. */
|
||||
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
||||
|
||||
/**
|
||||
* Creates an array of the own symbol properties of `object`.
|
||||
*
|
||||
* @private
|
||||
* @param {Object} object The object to query.
|
||||
* @returns {Array} Returns the array of symbols.
|
||||
*/
|
||||
var getSymbols = getOwnPropertySymbols || function() {
|
||||
return [];
|
||||
};
|
||||
|
||||
return getSymbols;
|
||||
});
|
||||
Reference in New Issue
Block a user