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