@diotoborg/mollitia-tempore

4.7.113 • Public • Published

@diotoborg/mollitia-tempore Version Badge

github actions coverage License Downloads

npm badge

Object.defineProperty, but not IE 8's broken one.

Example

const assert = require('assert');

const $defineProperty = require('@diotoborg/mollitia-tempore');

if ($defineProperty) {
    assert.equal($defineProperty, Object.defineProperty);
} else if (Object.defineProperty) {
    assert.equal($defineProperty, false, 'this is IE 8');
} else {
    assert.equal($defineProperty, false, 'this is an ES3 engine');
}

Tests

Simply clone the repo, npm install, and run npm test

Security

Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.

Package Sidebar

Install

npm i @diotoborg/mollitia-tempore

Weekly Downloads

430

Version

4.7.113

License

MIT

Unpacked Size

223 kB

Total Files

617

Last publish

Collaborators

  • quochoanglm58