mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 17:37:00 +02: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]");
|
|
});
|