Skip to content

Commit 26bc9d8

Browse files
Update Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift
Co-authored-by: Max Desiatov <max@desiatov.com>
1 parent 301dc00 commit 26bc9d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Sources/JavaScriptKit/FundamentalObjects/JSFunction.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public class JSFunction: JSObject {
8686
}
8787
}
8888

89-
/// `JSClosure` represents a JavaScript function whose body is written in Swift.
89+
/// `JSClosure` represents a JavaScript function the body of which is written in Swift.
9090
/// This type can be passed as a callback handler to JavaScript functions.
9191
/// Note that the lifetime of `JSClosure` should be managed by users manually
9292
/// due to GC boundary between Swift and JavaScript.

0 commit comments

Comments
 (0)