Bakhtina Sofya b84cb877be 1st comm | 2 týždňov pred | |
---|---|---|
.. | ||
.github | 2 týždňov pred | |
test | 2 týždňov pred | |
.eslintrc | 2 týždňov pred | |
.nycrc | 2 týždňov pred | |
CHANGELOG.md | 2 týždňov pred | |
LICENSE | 2 týždňov pred | |
README.md | 2 týždňov pred | |
index.d.ts | 2 týždňov pred | |
index.js | 2 týždňov pred | |
package.json | 2 týždňov pred | |
tsconfig.json | 2 týždňov pred |
Object.defineProperty
, but not IE 8's broken one.
const assert = require('assert');
const $defineProperty = require('es-define-property');
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');
}
Simply clone the repo, npm install
, and run npm test
Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.