buddy

node MVC discord bot
Log | Files | Refs | README

browser.mjs (337B)


      1 /*globals self, window */
      2 
      3 /*eslint-disable @mysticatea/prettier */
      4 const { AbortController, AbortSignal } =
      5     typeof self !== "undefined" ? self :
      6     typeof window !== "undefined" ? window :
      7     /* otherwise */ undefined
      8 /*eslint-enable @mysticatea/prettier */
      9 
     10 export default AbortController
     11 export { AbortController, AbortSignal }