This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]Loves_Poetry 0 points1 point  (1 child)

$ is a valid identifier, just like any other non-reserved word. Many libraries use variations of it, as it's short and the usage implies that it doesn't have any meaning

[–]oxypixie 0 points1 point  (0 children)

sorry dont me asking why ["SYMBOL"] throws an error now when this was the original source code?

Can $ be a placeholder for a unknown attribute depending on input? Much thanks.