No Description

_stringTagBug.js 574B

123456789101112131415
  1. Object.defineProperty(exports, '__esModule', { value: true });
  2. var _setup = require('./_setup.js');
  3. var _hasObjectTag = require('./_hasObjectTag.js');
  4. // In IE 10 - Edge 13, `DataView` has string tag `'[object Object]'`.
  5. // In IE 11, the most common among them, this problem also applies to
  6. // `Map`, `WeakMap` and `Set`.
  7. var hasStringTagBug = (
  8. _setup.supportsDataView && _hasObjectTag(new DataView(new ArrayBuffer(8)))
  9. ),
  10. isIE11 = (typeof Map !== 'undefined' && _hasObjectTag(new Map));
  11. exports.hasStringTagBug = hasStringTagBug;
  12. exports.isIE11 = isIE11;