v0.2.0
Minor Changes
-
7cb54cb: ## ICollection and IAsyncCollection changes
Removed the throwOnIndexOverflow setting from all ICollection and IAsyncCollection methods. This change was made because the setting throwOnIndexOverflow was unnecessary; it only applied to very large collections, where using JavaScript is not advisable.Changed the slice method signature to align with the JavaScript version.
Changed the shuffle method to accept a custom Math.random function, making it easier for testing.
Changed the sum, average, median, min, max, and percentage methods to throw an error when the collection is empty.
Changed the crossJoin method signature and its usage to ensure proper type inference.