On Fri, May 31, 2019 at 2:08 AM Cyril Auburtin <[email protected]>
wrote:
> After thinking about it, the dot-notation is maybe confusing, because
>
> ```js
> obj.{a}
> ```
> looks like
> ```js
> obj.a
> ```
> But the results are totally different
>
They are intended to look alike.
The results are not "totally different"--in both cases, one or more
properties in the object to the left of the dot are being referenced.
That's what the dot means.
Bob
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss