1.1.31.1.2
Reading changes from the repo…
var _ = require('underscore');
, making it more straightforward to use in your projects. This change also ensures that existing functionality remains intact, allowing you to continue using _([1, 2, 3]).map
as before. _.template()
function now preserves backslashes, which is particularly beneficial for LaTeX templates. This means that using \ribbit
will output the literal string \r
instead of a carriage return, enhancing template accuracy. reduce()
and reduceRight()
functions now correctly use the first value of the array as the initial value when none is provided. This aligns with the ECMA 5 specification and improves the consistency of these methods.