Skip to content

Commit b31eae8

Browse files
authored
Merge pull request #186 from samal84/patch-1
Fix computed property example
2 parents 1ffd30f + cc4d108 commit b31eae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/04-object-basics/01-object/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ We can use more complex expressions inside square brackets:
189189
```js
190190
let fruit = 'apple';
191191
let bag = {
192-
['apple' + 'Computers']: 5 // bag.appleComputers = 5
192+
[fruit + 'Computers']: 5 // bag.appleComputers = 5
193193
};
194194
```
195195

0 commit comments

Comments
 (0)