mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
6 lines
215 B
JavaScript
6 lines
215 B
JavaScript
test("adding objects", () => {
|
|
expect([] + []).toBe("");
|
|
expect([] + {}).toBe("[object Object]");
|
|
expect({} + {}).toBe("[object Object][object Object]");
|
|
expect({} + []).toBe("[object Object]");
|
|
});
|