zhibo/live-streaming/client/node_modules/get-own-enumerable-property-symbols
2025-12-15 11:34:49 +08:00
..
lib 初始化 2025-12-15 11:34:49 +08:00
CHANGELOG.md 初始化 2025-12-15 11:34:49 +08:00
LICENSE 初始化 2025-12-15 11:34:49 +08:00
package.json 初始化 2025-12-15 11:34:49 +08:00
README.md 初始化 2025-12-15 11:34:49 +08:00

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