ladybird/Libraries/LibJS/Tests/var-multiple-declarator.js

8 lines
158 B
JavaScript

test("basic functionality", () => {
var a = 1,
b = 2,
c = a + b;
expect(a).toBe(1);
expect(b).toBe(2);
expect(c).toBe(3);
});