Loading homepage
Input: const a = new ImmutableArray([1, 2]); const b = a.push(3).set(0, 9); a.toArray(); b.toArray(); Output: [1, 2] and [9, 2, 3]
Input: const a = new ImmutableArray([NaN]); a.set(0, NaN) === a; Output: true
Implement the exported API in index.js or index.ts. Tests cover the contract and edge cases below.