Merge pull request #186 from samal84/patch-1

Fix computed property example
This commit is contained in:
Ilya Kantor 2017-09-17 19:33:49 +02:00 committed by GitHub
commit b31eae835b

View file

@ -189,7 +189,7 @@ We can use more complex expressions inside square brackets:
```js ```js
let fruit = 'apple'; let fruit = 'apple';
let bag = { let bag = {
['apple' + 'Computers']: 5 // bag.appleComputers = 5 [fruit + 'Computers']: 5 // bag.appleComputers = 5
}; };
``` ```