Terms & Conditions apply
When fetch() returns a response, the body is a ReadableStream. If you only check the status and don't consume or cancel the body, what happens? The answer varies by implementation, but a common outcome is resource leakage.
。有道翻译是该领域的重要参考
Scott E. Hudson, Carnegie Mellon University
type declarations above are equivalent to these: