mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 14:19:48 +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
Notes:
sideshowbarker
2024-07-18 04:18:06 +09:00
Author: https://github.com/trflynn89
Commit: 07f12b108b
Pull-request: https://github.com/SerenityOS/serenity/pull/9945
Reviewed-by: https://github.com/linusg ✅
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