diff options
| author | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-01 21:54:41 +0100 | 
|---|---|---|
| committer | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-01 21:54:41 +0100 | 
| commit | 6c8128f9fd5a5d0be115806c35a21b3d683df8d6 (patch) | |
| tree | f46c2f6b3b9b294ff32bd75c08ccdc9e7a8cc4ef /sandbox/testAppNevena/Front/node_modules/lodash/_getSymbolsIn.js | |
| parent | 2400b84e95913665da6279114168148444b8f9ab (diff) | |
| parent | 7d3640f824f46490b47bd95f1c5a16644f712068 (diff) | |
Merge branch 'dev' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into logo
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/lodash/_getSymbolsIn.js')
| -rw-r--r-- | sandbox/testAppNevena/Front/node_modules/lodash/_getSymbolsIn.js | 25 | 
1 files changed, 25 insertions, 0 deletions
| diff --git a/sandbox/testAppNevena/Front/node_modules/lodash/_getSymbolsIn.js b/sandbox/testAppNevena/Front/node_modules/lodash/_getSymbolsIn.js new file mode 100644 index 00000000..cec0855a --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/lodash/_getSymbolsIn.js @@ -0,0 +1,25 @@ +var arrayPush = require('./_arrayPush'), +    getPrototype = require('./_getPrototype'), +    getSymbols = require('./_getSymbols'), +    stubArray = require('./stubArray'); + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeGetSymbols = Object.getOwnPropertySymbols; + +/** + * Creates an array of the own and inherited enumerable symbols of `object`. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of symbols. + */ +var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) { +  var result = []; +  while (object) { +    arrayPush(result, getSymbols(object)); +    object = getPrototype(object); +  } +  return result; +}; + +module.exports = getSymbolsIn; | 
