Re: [w3c/FileAPI] Editorial: slice blob should use nullable args (PR #184)

@annevk commented on this pull request.



> @@ -558,8 +555,20 @@ returns a new {{Blob}} object with bytes ranging from the optional <var>start</v
 up to but not including the optional <var>end</var> parameter, and with a {{Blob/type}} attribute
 that is the value of the optional <var>contentType</var> parameter. It must act as follows:
 
-1. Return the result of <a>slice blob</a> given <a>this</a>, <var>start</var>, <var>end</var>,
-   and <var>contentType</var>.
+1. Let <var>sliceStart</var> be null.

Nit: you could initialize all three to null here at once to make it slightly shorter.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/pull/184#pullrequestreview-1195355300
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/FileAPI/pull/184/review/1195355300@github.com>

Received on Monday, 28 November 2022 08:11:18 UTC