mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:27:35 +00:00
LibJS: Implement a nearly empty Intl.NumberFormat object
This adds plumbing for the Intl.NumberFormat object, constructor, and prototype.
This commit is contained in:
parent
a1954262f8
commit
07f12b108b
12 changed files with 550 additions and 1 deletions
|
@ -0,0 +1,3 @@
|
|||
test("basic functionality", () => {
|
||||
expect(Intl.NumberFormat.prototype[Symbol.toStringTag]).toBe("Intl.NumberFormat");
|
||||
});
|
|
@ -0,0 +1,5 @@
|
|||
describe("normal behavior", () => {
|
||||
test("length is 0", () => {
|
||||
expect(Intl.NumberFormat).toHaveLength(0);
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue