Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add doc comments for public APIs (Part 2) #57

Merged
merged 7 commits into from
Sep 16, 2020
Prev Previous commit
Next Next commit
Update Sources/JavaScriptKit/BasicObjects/JSArray.swift
Co-authored-by: Max Desiatov <max@desiatov.com>
  • Loading branch information
kateinoigakukun and MaxDesiatov authored Sep 16, 2020
commit d2a13fb36892848affb9e3cbec0d7fc387c61e9a
2 changes: 1 addition & 1 deletion Sources/JavaScriptKit/BasicObjects/JSArray.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class JSArray {
/// Construct a `JSArray` from Array `JSObject`.
/// Return `nil` if the object is not an Array.
///
/// - Parameter object: A `JSObject` expected to be Array of JavaScript
/// - Parameter object: A `JSObject` expected to be a JavaScript Array
public init?(_ ref: JSObject) {
guard Self.isArray(ref) else { return nil }
self.ref = ref
Expand Down