From 393849384bd11ab1be9a0c2e0570e10743cbb055 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 23 Nov 2015 00:00:49 -0800 Subject: [PATCH] Update `_.result` doc example. [ci skip] --- lodash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash.js b/lodash.js index b344a8ea8..4ef11e86b 100644 --- a/lodash.js +++ b/lodash.js @@ -11255,10 +11255,10 @@ * _.result(object, 'a[0].b.c2'); * // => 4 * - * _.result(object, 'a.b.c', 'default'); + * _.result(object, 'a[0].b.c3', 'default'); * // => 'default' * - * _.result(object, 'a.b.c', _.constant('default')); + * _.result(object, 'a[0].b.c3', _.constant('default')); * // => 'default' */ function result(object, path, defaultValue) {