typed-objects-explainer
typed-objects-explainer copied to clipboard
Overloading of []
There is [] overloading mentioned here. As I understand it, . can't be overloaded because we should have possibility to use object properties, right? [] shouldn't be overloadable as well because properties can be strings.
Also [] shouldn't be overloadable because of new requirements from WebAssembly