Евгения Акиншина 52274d6dab HW<react> done 3 年之前
..
lib 52274d6dab HW<react> done 3 年之前
CHANGELOG.md 52274d6dab HW<react> done 3 年之前
LICENSE 52274d6dab HW<react> done 3 年之前
README.md 52274d6dab HW<react> done 3 年之前
package.json 52274d6dab HW<react> done 3 年之前

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}))
// []