3 ms·
> [] and . have always acted directly on object properties. That was the bad idea, but as you suggest it really can't be fixed now.
by pekk 11y ago
> [] and . have always acted directly on object properties.
That was the bad idea, but as you suggest it really can't be fixed now.
- TazeTSchnitzel 11y agoIt's not at all a bad idea. It means you can look up properties on an object by expression, but gives you a short syntax for the common case.