aboutsummaryrefslogtreecommitdiff
path: root/node_modules/get-own-enumerable-property-symbols/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/get-own-enumerable-property-symbols/README.md')
-rw-r--r--node_modules/get-own-enumerable-property-symbols/README.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/node_modules/get-own-enumerable-property-symbols/README.md b/node_modules/get-own-enumerable-property-symbols/README.md
index 102ae8aa7..63f25fd19 100644
--- a/node_modules/get-own-enumerable-property-symbols/README.md
+++ b/node_modules/get-own-enumerable-property-symbols/README.md
@@ -6,12 +6,10 @@ Similar to [`Object.getOwnPropertySymbols`](https://developer.mozilla.org/en-US/
but only [enumerable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Enumerability_and_ownership_of_properties) keys.
```js
-const getOwnEnumPropSymbols = require('get-own-enumerable-property-symbols')
+import getOwnEnumPropSymbols from 'get-own-enumerable-property-symbols'
getOwnEnumPropSymbols({ [Symbol()]: undefined })
// [Symbol()]
getOwnEnumPropSymbols(Object.defineProperty({}, Symbol(), {enumerable: false}))
// []
```
-
-[![JavaScript Style Guide](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)