We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35a36ca commit 01b6836Copy full SHA for 01b6836
src/net/http/roundtrip_js.go
@@ -42,7 +42,7 @@ const jsFetchRedirect = "js.fetch:redirect"
42
43
// jsFetchMissing will be true if the Fetch API is not present in
44
// the browser globals.
45
-var jsFetchMissing = !js.Global().Get("fetch").IsUndefined()
+var jsFetchMissing = js.Global().Get("fetch").IsUndefined()
46
47
// RoundTrip implements the RoundTripper interface using the WHATWG Fetch API.
48
func (t *Transport) RoundTrip(req *Request) (*Response, error) {
0 commit comments