1.2.01.1.7
Reading changes from the repo…
_.shuffle
method, making it easy to randomize the order of elements. _.init
method to easily retrieve all elements of an array except the last one, simplifying your array manipulations. _.last()
method now accepts an optional index argument, allowing you to retrieve the last n elements of an array, just like _.first()
. <%== ... %>
that automatically escapes values, helping to prevent XSS and display special characters correctly. _.uniq
method now supports an optional iterator, enabling you to filter unique values based on custom criteria, similar to Ruby's Array.uniq
. _.isEqual
, which now handles cyclic structures and ensures that 0
and -0
are not considered equivalent. _.isEqual
to ensure accurate comparisons for various object types and improve performance in deep comparisons.