Dirk Alders 97486731b5 Dashboard 2 - EG-West | 4ヶ月前 | |
---|---|---|
.. | ||
.github | 4ヶ月前 | |
test | 4ヶ月前 | |
.eslintrc | 4ヶ月前 | |
.nycrc | 4ヶ月前 | |
CHANGELOG.md | 4ヶ月前 | |
LICENSE | 4ヶ月前 | |
README.md | 4ヶ月前 | |
index.d.ts | 4ヶ月前 | |
index.js | 4ヶ月前 | |
package.json | 4ヶ月前 | |
tsconfig.json | 4ヶ月前 |
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.