相当于 XHR 或 Ajax 库中的 Fetch 'no-cors' 模式?

Fab*_*abi 13 ajax xmlhttprequest cors fetch-api

有没有办法在现有的(大多数浏览器支持的)HTTP 请求中编写 fetch {mode: 'no-cors'} ?例如,我想知道是否可以翻译以下内容:

fetch(url, { mode: 'no-cors'})
.then(function (response) {
  console.log(response);
});
Run Code Online (Sandbox Code Playgroud)

转换成某种 XMLHttpRequest 或 Ajax。我尝试了几种方法,但它们的行为有所不同 - 我只想要 fetch 返回的不透明响应。

谢谢!