From af87e6ef629ff1691579ea31444618f1b71c1964 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 1 Mar 2013 00:24:48 -0800 Subject: [PATCH] Correct `_.cloneDeep` docs. Former-commit-id: 93849f67b49fbba0d91ea8693a4d0b324f55352c --- lodash.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lodash.js b/lodash.js index f8cce34a6..2e6e7d5e1 100644 --- a/lodash.js +++ b/lodash.js @@ -1246,10 +1246,10 @@ } /** - * Creates a deep clone of `value`. If a `callback` function is passed, it will - * be executed to produce the cloned values. If `callback` returns the value it - * was passed, cloning will be handled by the method instead. The `callback` is - * bound to `thisArg` and invoked with one argument; (value). + * Creates a deep clone of `value`. If a `callback` function is passed, + * it will be executed to produce the cloned values. If `callback` returns + * `undefined`, cloning will be handled by the method instead. The `callback` + * is bound to `thisArg` and invoked with one argument; (value). * * Note: This function is loosely based on the structured clone algorithm. Functions * and DOM nodes are **not** cloned. The enumerable properties of `arguments` objects and