Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions files/en-us/web/api/urlsearchparams/sort/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ None ({{jsxref("undefined")}}).
// Create a test URLSearchParams object
const searchParams = new URLSearchParams("c=4&a=2&b=3&a=1");

// Display the original query string
console.log(searchParams.toString());
// Expected output: c=4&a=2&b=3&a=1

// Sort the key/value pairs
searchParams.sort();

// Display the sorted query string
console.log(searchParams.toString());
// Expected output: a=2&a=1&b=3&c=4
```

The result is:

```plain
a=2&a=1&b=3&c=4
```

## Specifications

Expand Down
2 changes: 2 additions & 0 deletions files/en-us/web/api/videoframe/copyto/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ browser-compat: api.VideoFrame.copyTo
{{APIRef("Web Codecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **`copyTo()`** method of the {{domxref("VideoFrame")}} interface copies the contents of the `VideoFrame` to an `ArrayBuffer`.
> **Note**
> Converting from YUV to RGB is supported starting from Chromium 127.

## Syntax

Expand Down
Loading