yrik 0fb20a58e3 提交 il y a 4 ans
..
lib eec7f449c9 first commit il y a 4 ans
CHANGELOG.md eec7f449c9 first commit il y a 4 ans
LICENSE eec7f449c9 first commit il y a 4 ans
README.md eec7f449c9 first commit il y a 4 ans
package.json 0fb20a58e3 提交 il y a 4 ans

README.md

get-own-enumerable-property-symbols Build Status

Returns an array of all enumerable symbol properties found directly upon a given object.

Similar to Object.getOwnPropertySymbols but only enumerable keys.

import getOwnEnumPropSymbols from 'get-own-enumerable-property-symbols'

getOwnEnumPropSymbols({ [Symbol()]: undefined })
// [Symbol()]
getOwnEnumPropSymbols(Object.defineProperty({}, Symbol(), {enumerable: false}))
// []