No Description

_stringTagBug.js 446B

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