Skip to content

Commit 37e3779

Browse files
committed
Fixes typo in doc
1 parent 0a56fea commit 37e3779

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/syscall/js/js.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ func Global() Value {
134134
return valueGlobal
135135
}
136136

137-
// Scope returns the Javascript object attached to the Go class.
138-
// If nothing has been explicitly set, this is usually "windo", or "global".
137+
// Scope returns the Javascript object attached to the scope field of the Go class.
138+
// If nothing has been explicitly set, behaves like [js.Global].
139139
func Scope() Value {
140140
return jsGo.Get("scope")
141141
}

0 commit comments

Comments
 (0)