Comparing changes
Open a pull request
…ove strict type checking.
…s should be equal.
… for `false` values.
…dependency on `_.keys`.
* Added support for auto-escaping of values using ```<%== ... %>```
Link to Underscore.php in docs
This makes _.last() behave the same as _.first(). Passing an optional second argument n will return the last n elements of the array.
Allows _.last() to work as expected with _.map().
Merging @michaelficarra's additions...
…. Ignore inherited properties when deep comparing objects. Use a more efficient `while` loop for comparing arrays and array-like objects.
Add an optional index argument to _.last()
Array Shuffle
Showing you all comments on commits in this comparison.
This comment has been minimized.
This comment has been minimized.
isSorted is not supposed to be a function, why don't you just change to the ideal signature while leaving the edge case "if second param is not a function use it as isSorted ? |
This comment has been minimized.
This comment has been minimized.
You could replace the length check with something like |
This comment has been minimized.
This comment has been minimized.
I thought we wanted these early bail-outs. If we can easily tell that a deep comparison will not produce
|
This comment has been minimized.
This comment has been minimized.
We do, which is why the rest of them are in. If |
This comment has been minimized.
This comment has been minimized.
Ah, alright, I'm convinced. |
Large diffs are not rendered by default.