document-all.js 363 B

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