1.5.21.5.1
Reading changes from the repo…
_.sample(array, number)
function, allowing users to easily retrieve a random sample of elements from an array, enhancing the utility of the library. debounce
, improving performance and usability for users who rely on this function for event handling. min
and max
, clarifying ambiguous wording to ensure users understand how to use these functions effectively. _.invert
, making it faster and more efficient for users when inverting object properties. _.each
function by optimizing the underlying implementation, resulting in better performance for users iterating over collections. _.template
, ensuring that users have accurate and helpful examples to reference. _.sortBy
to handle equal indices correctly, ensuring that users get the expected results when sorting collections with duplicate values. _.template
, correcting any inaccuracies to provide users with a reliable reference. _.throttle
tests, ensuring that users can trust the functionality of this method in their applications.