LibJS: Implement a nearly empty Intl.NumberFormat object

This adds plumbing for the Intl.NumberFormat object, constructor, and
prototype.
This commit is contained in:
Timothy Flynn 2021-09-08 21:34:27 -04:00 committed by Linus Groh
commit 07f12b108b
Notes: sideshowbarker 2024-07-18 04:18:06 +09:00
12 changed files with 550 additions and 1 deletions

View file

@ -0,0 +1,3 @@
test("basic functionality", () => {
expect(Intl.NumberFormat.prototype[Symbol.toStringTag]).toBe("Intl.NumberFormat");
});

View file

@ -0,0 +1,5 @@
describe("normal behavior", () => {
test("length is 0", () => {
expect(Intl.NumberFormat).toHaveLength(0);
});
});