mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
8 lines
167 B
TypeScript
8 lines
167 B
TypeScript
import { expect, test } from "bun:test";
|
|
|
|
test("15326", () => {
|
|
const s = "\uFFFF";
|
|
expect(s.charCodeAt(0)).toBe(0xffff);
|
|
expect(s.charCodeAt(1)).toBe(NaN);
|
|
});
|