document-all.js 349 B

12345678910
  1. var documentAll = typeof document == 'object' && document.all;
  2. // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
  3. // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
  4. var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
  5. module.exports = {
  6. all: documentAll,
  7. IS_HTMLDDA: IS_HTMLDDA
  8. };