new List()
- Source:
natural-lenses
tries to treat this class as similarly as it can to the
native Array class. The one difficulty that exists in this case is that
immutable.List does not support value
sparseness (i.e. "empty" elements). Where natural-lenses
would produce
a cloned Array with an empty element, for immutable.List
it will instead store undefined
in the target slot of the clone.