mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
Libraries: Move to Userland/Libraries/
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 23:53:55 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/13d7c09125f
@@ -1,11 +0,0 @@
|
||||
test("basic functionality", () => {
|
||||
let p = new Proxy([], {
|
||||
get(_, key) {
|
||||
if (key === "length") return 3;
|
||||
return Number(key);
|
||||
},
|
||||
});
|
||||
|
||||
expect(JSON.stringify(p)).toBe("[0,1,2]");
|
||||
expect(JSON.stringify([[new Proxy(p, {})]])).toBe("[[[0,1,2]]]");
|
||||
});
|
||||
Reference in New Issue
Block a user