source: trip-planner-front/node_modules/core-js/internals/ie8-dom-define.js@ 8d391a1

Last change on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

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