mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
5 lines
194 B
JavaScript
5 lines
194 B
JavaScript
export function checkFromESM(is_op) {
|
|
is_op(new TextDecoder().encoding, "utf-8", "ESM should have TextDecoder");
|
|
is_op(new TextEncoder().encoding, "utf-8", "ESM should have TextEncoder");
|
|
}
|