yrik 0fb20a58e3 提交 4 년 전
..
lib eec7f449c9 first commit 4 년 전
CHANGELOG.md eec7f449c9 first commit 4 년 전
LICENSE eec7f449c9 first commit 4 년 전
README.md eec7f449c9 first commit 4 년 전
package.json 0fb20a58e3 提交 4 년 전

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