source: trip-planner-front/node_modules/object-is/shim.js@ 76712b2

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

initial commit

  • Property mode set to 100644
File size: 306 bytes
Line 
1'use strict';
2
3var getPolyfill = require('./polyfill');
4var define = require('define-properties');
5
6module.exports = function shimObjectIs() {
7 var polyfill = getPolyfill();
8 define(Object, { is: polyfill }, {
9 is: function testObjectIs() {
10 return Object.is !== polyfill;
11 }
12 });
13 return polyfill;
14};
Note: See TracBrowser for help on using the repository browser.