The identity function: it just returns its argument unchanged.
expect(id(1337)).toEqual(1337);expect(id("Hello Joe!")).toEqual("Hello Joe!"); Copy
expect(id(1337)).toEqual(1337);expect(id("Hello Joe!")).toEqual("Hello Joe!");
The identity function: it just returns its argument unchanged.