1.0.0-1 • Published 2 years ago

js-polyfill-object.fromentries v1.0.0-1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Object.fromEntries() polyfill

Provides polyfill for Object.fromEntries().

Usage

Importing the module will automatically monkey-patch the Object class, adding the static method only if needed. If the functionality is already present, nothing is done.

require('js-polyfill-object.fromentries');

or

import 'js-polyfill-object.fromentries';
Object.fromEntries(...);