Skip to content

ungap/own-keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A basic Reflect.ownKeys polyfill

Resources

Stars

Watchers

Forks

Packages

No packages published