mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
fix: typo in validator for TextEncoder#encode (#10862)
This commit is contained in:
parent
c73ef5fa14
commit
fdf068a607
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@
|
|||
const prefix = "Failed to execute 'encode' on 'TextEncoder'";
|
||||
input = webidl.converters.USVString(input, {
|
||||
prefix,
|
||||
context: "Argument 2",
|
||||
context: "Argument 1",
|
||||
});
|
||||
return core.encode(input);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue