summaryrefslogtreecommitdiffstats
path: root/debian/tests/test_modules/abort-controller/browser.js
blob: b0c5ec37d9b76ca561a0a5391a07226ebc6a2b48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*globals self, window */
"use strict"

/*eslint-disable @mysticatea/prettier */
const { AbortController, AbortSignal } =
    typeof self !== "undefined" ? self :
    typeof window !== "undefined" ? window :
    /* otherwise */ undefined
/*eslint-enable @mysticatea/prettier */

module.exports = AbortController
module.exports.AbortSignal = AbortSignal
module.exports.default = AbortController