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