Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it("has", () => {
expect(new TypedArray([BigInt(1)])[ReadonlyCollection.has](BigInt(1))).toBe(true);
expect(new TypedArray([BigInt(1)])[ReadonlyCollection.has](BigInt(2))).toBe(false);
});
});
it("has", () => {
expect(["a"][ReadonlyCollection.has]("a")).toBe(true);
expect(["a"][ReadonlyCollection.has]("b")).toBe(false);
});
});