@ungap/own-keys

0.2.0 • Public • Published

The Reflect.ownKeys method for legacy.

Build Status Coverage Status

It returns Reflect.ownKeys, eventually including symbols too, if the browser is compatible.

import ownKeys from '@ungap/own-keys';

ownKeys({a, 1}); // ['a']

Compatible with every engine.

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i @ungap/own-keys

    Weekly Downloads

    31

    Version

    0.2.0

    License

    ISC

    Unpacked Size

    3.02 kB

    Total Files

    7

    Last publish

    Collaborators

    • webreflection