Simplify null/undefined check in _.isEqual and edit _.cloneDeep docs.

Former-commit-id: 62455ba83df04318856fbc889743f44101b24fe3
This commit is contained in:
John-David Dalton
2013-01-25 00:20:55 -08:00
parent 0fc2ab4d41
commit 98eccf223a
5 changed files with 12 additions and 12 deletions

View File

@@ -1984,7 +1984,7 @@ deep[0] === stooges[0];
Creates a deep clone of `value`. Functions and DOM nodes are **not** cloned. The enumerable properties of `arguments` objects and objects created by constructors other than `Object` are cloned to plain `Object` objects.
Note: This function is loosely based on the structured clone algorithm. See http://www.w3.org/TR/html5/common-dom-interfaces.html#internal-structured-cloning-algorithm.
Note: This function is loosely based on the structured clone algorithm. See http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm.
#### Arguments
1. `value` *(Mixed)*: The value to deep clone.