Skip to content

Why do Zoe keywords have to start with a capital letter? #8241

Answered by dckc
dckc asked this question in Q&A
Discussion options

You must be logged in to vote

@erights explained...

I’ll start this with a true story of the hazard we’re trying to avoid before going into too much detail.
At one time, if you wrote a Google doc consisting only of the string __proto__ your document would hang.


JS has two main forms of property lookup: obj.name and obj[expr] , where expr is expected to evaluate to a property name or array index. We can generally divide most property names into two categories: those statically known by the author of the program, and those determined by data entering the program from the outside, such as all incoming messages. For statically known property names, they are almost always used as obj.name, where, for example, the type dep…

Replies: 1 comment

Comment options

dckc
Aug 23, 2023
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by dckc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant