1.8.31.8.2
Reading changes from the repo…
_.create
method, allowing users to create objects with a specified prototype. This enhances object creation capabilities in your JavaScript projects. _.indexOf
and _.lastIndexOf
, ensuring faster lookups in your arrays. This improvement helps in speeding up array operations significantly. _.uniq
, making it clearer and more precise for users. This ensures that you have the right information at your fingertips when using this method. _.contains
method by adding a guard for the fromIndex
parameter, making it easier to use with partial applications. This change simplifies your code when checking for array contents. _.range
method to prevent performance issues related to argument handling. This ensures that generating ranges is both efficient and reliable. _.indexOf
incorrectly handles NaN
and startIndex
, ensuring accurate results when searching for values in arrays. This resolves potential bugs in your array searches. isArrayLike
method to correctly return false for the value 0
, addressing a bug that affected various methods. This ensures consistent behavior across your code. _.isArrayLike
, preventing improper optimizations that could lead to incorrect results. This fix enhances compatibility with iOS environments.