5 lines
142 B
JavaScript
5 lines
142 B
JavaScript
module.exports = object => {
|
|
return Object.getOwnPropertySymbols(object)
|
|
.filter(keySymbol => object.propertyIsEnumerable(keySymbol))
|
|
}
|