mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 17:58:49 +00:00
8 lines
153 B
JavaScript
8 lines
153 B
JavaScript
test("basic update expression", () => {
|
|
var o = {};
|
|
o.f = 1;
|
|
|
|
expect(o.f++).toBe(1);
|
|
expect(++o.f).toBe(3);
|
|
expect(++o.missing).toBeNaN();
|
|
});
|