2018-03-24 16:22:20 +05:30

4 lines
65 B
JavaScript

function f(a, b = a, c = b) { return c; }
expect(3).toBe(f(3));