From cc4d10896e16ec0352ff38e2130dcd6a139a4f95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1mal=20Rasmussen?= Date: Sun, 17 Sep 2017 00:17:25 +0200 Subject: [PATCH] Fix computed property example I'm sure the fruit variable was supposed to be used somewhere. --- 1-js/04-object-basics/01-object/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/04-object-basics/01-object/article.md b/1-js/04-object-basics/01-object/article.md index ce86f7fb..abb93ea4 100644 --- a/1-js/04-object-basics/01-object/article.md +++ b/1-js/04-object-basics/01-object/article.md @@ -189,7 +189,7 @@ We can use more complex expressions inside square brackets: ```js let fruit = 'apple'; let bag = { - ['apple' + 'Computers']: 5 // bag.appleComputers = 5 + [fruit + 'Computers']: 5 // bag.appleComputers = 5 }; ```