mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Bump to v4.0.0.
This commit is contained in:
15
internal/getSymbols.js
Normal file
15
internal/getSymbols.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/** 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 [];
|
||||
};
|
||||
|
||||
export default getSymbols;
|
||||
Reference in New Issue
Block a user