4 lines
194 B
JavaScript
4 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");
|
|
}
|