Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 924 Bytes

README.md

File metadata and controls

40 lines (24 loc) · 924 Bytes

Object.hasOwn Polyfill

A polyfill for Object.hasOwn.

Installation

You can install this package using npm or yarn:

npm install @alwatr/polyfill-has-own

If you're using Yarn, you can do this with:

yarn add @alwatr/polyfill-has-own

Usage

import '@alwatr/polyfill-has-own';

const obj = {foo: 'bar'};
obj.hasOwn('foo'); // true

Sponsors

The following companies, organizations, and individuals support Nanolib ongoing maintenance and development. Become a Sponsor to get your logo on our README and website.

Exir Studio

Contributing

Contributions are welcome! Please read our contribution guidelines before submitting a pull request.

License

This project is licensed under the AGPL-3.0 License.