Skip to content

Commit

Permalink
Update files/en-us/web/api/readablestream/readablestream/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 5a62473 commit 15bb618
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/en-us/web/api/readablestream/readablestream/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ const stream = new ReadableStream({
A useful way to construct a `ReadableStream` from a variety of input types is to use the body property of a {{domxref("Response.Response","Response")}} object

```js
function newReadableStream(content){
return new Response(content).body;
function newReadableStream(content) {
return new Response(content).body;
}

const newStream = newReadableStream("Hello World");
Expand Down

0 comments on commit 15bb618

Please sign in to comment.