wallet-core/node_modules/get-own-enumerable-property-symbols/index.js
2017-08-14 05:02:09 +02:00

5 lines
142 B
JavaScript

module.exports = object => {
return Object.getOwnPropertySymbols(object)
.filter(keySymbol => object.propertyIsEnumerable(keySymbol))
}