source: imaps-frontend/node_modules/core-js/internals/ie8-dom-define.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 477 bytes
Line 
1'use strict';
2var DESCRIPTORS = require('../internals/descriptors');
3var fails = require('../internals/fails');
4var createElement = require('../internals/document-create-element');
5
6// Thanks to IE8 for its funny defineProperty
7module.exports = !DESCRIPTORS && !fails(function () {
8 // eslint-disable-next-line es/no-object-defineproperty -- required for testing
9 return Object.defineProperty(createElement('div'), 'a', {
10 get: function () { return 7; }
11 }).a !== 7;
12});
Note: See TracBrowser for help on using the repository browser.