You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
There was a misunderstanding about string indexers on Stack Overflow.
The docs should compare obj.property with obj[someValue] instead of obj["property"] to better illustrate why property types should match the indexer return type.
Please, take a look at the question linked above and the answer for more information.
The text was updated successfully, but these errors were encountered:
hdodov
changed the title
Provide better example for string indexers
Provide more understandable example for string indexers
Oct 1, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There was a misunderstanding about string indexers on Stack Overflow.
The docs should compare
obj.property
withobj[someValue]
instead ofobj["property"]
to better illustrate why property types should match the indexer return type.Please, take a look at the question linked above and the answer for more information.
The text was updated successfully, but these errors were encountered: