Initial commit
[yaffs-website] / node_modules / grunt-contrib-watch / node_modules / globule / node_modules / lodash / _getSymbols.js
1 var overArg = require('./_overArg'),
2     stubArray = require('./stubArray');
3
4 /* Built-in method references for those with the same name as other `lodash` methods. */
5 var nativeGetSymbols = Object.getOwnPropertySymbols;
6
7 /**
8  * Creates an array of the own enumerable symbol properties of `object`.
9  *
10  * @private
11  * @param {Object} object The object to query.
12  * @returns {Array} Returns the array of symbols.
13  */
14 var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;
15
16 module.exports = getSymbols;