mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 17:34:47 -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'";
|
const prefix = "Failed to execute 'encode' on 'TextEncoder'";
|
||||||
input = webidl.converters.USVString(input, {
|
input = webidl.converters.USVString(input, {
|
||||||
prefix,
|
prefix,
|
||||||
context: "Argument 2",
|
context: "Argument 1",
|
||||||
});
|
});
|
||||||
return core.encode(input);
|
return core.encode(input);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue