aboutsummaryrefslogtreecommitdiff
path: root/node_modules/get-own-enumerable-property-symbols/README.md
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-09-20 02:56:13 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-09-20 02:56:13 +0200
commitbbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch)
treec58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/get-own-enumerable-property-symbols/README.md
parent003fb34971cf63466184351b4db5f7c67df4f444 (diff)
update packages
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)