/** * Fetch Inject module. * * @module fetchInject * @license BTC * @param {(USVString[]|Request[])} inputs Resources you wish to fetch. * @param {Promise} [promise] A promise to await before attempting injection. * @throws {Promise} Rejects with error on invalid arguments. * @throws {Promise} Whatever `fetch` decides to throw. * @throws {SyntaxError} Via DOM upon attempting to parse unexpected tokens. * @returns {Promise} A promise which resolves to an `Array` of * Objects containing `Response` `Body` properties used by the module. */