in
does not preclude shorthand?
#2
Comments
Because in |
|
I'll clarify - it's not that it constrains its use as an expression, but i think it specifically prevents its use as shorthand. It intentionally does not conflict with the private declarations proposal. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I think this thread is just a symptom of the big issue what I am talking about, but of coz you can disagree.
This is what I'm asking, if we want make |
If |
I'd agree that |
The closest solution that I can think of to the current behavior for regular fields and |
@Alexsey I'm not sure I understand, but that also seems a bit off topic for this issue at least. Maybe open a different issue so we can get some better insight into what is being discussed. I in particular don't know if you mean symbol in the grammar sense or Symbol the JS type. |
The |
I'm a bit confused by:
Why is
#brand in obj
problematic?this.#brand
is the reference to the property value of#brand
onthis
so it doesn't collide with the environment reference#brand
to my knowledge.The text was updated successfully, but these errors were encountered: