From 852d35501c2d45b791be9b37885b94fe9034953e Mon Sep 17 00:00:00 2001 From: Linear-Enter Date: Mon, 12 Aug 2019 11:32:28 +0800 Subject: [PATCH] fix:typo --- ...73 TC39 \344\270\216 ECMAScript \346\217\220\346\241\210.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/015.\347\262\276\350\257\273 TC39 \344\270\216 ECMAScript \346\217\220\346\241\210.md" "b/015.\347\262\276\350\257\273 TC39 \344\270\216 ECMAScript \346\217\220\346\241\210.md" index a3aee11e..e71561e7 100644 --- "a/015.\347\262\276\350\257\273 TC39 \344\270\216 ECMAScript \346\217\220\346\241\210.md" +++ "b/015.\347\262\276\350\257\273 TC39 \344\270\216 ECMAScript \346\217\220\346\241\210.md" @@ -617,7 +617,7 @@ const firstName = message.body?.user?.firstName || 'default' ```javascript const firstName = - ()message && + (message && message.body && message.body.user && message.body.user.firstName) || 'default'