Message from JavaScript discussions

July 2017

— Its called annotation in PHP also.


It might be a bit tricky with Symbols I guess, but there is something like "getOwnSymbols" in Object API

— Yep, I know

— Symbol.toStringTag is a cool one

— What's it do?

— Does it use the description of the Symbol?

— Ohhhhh, looked it up. Wow!

— That is cool

— Yeah

— No more [object Object]

— Which is a great thing, I just wish they added equals() and hashCode() in a same manner.

— Then standard collections would have a chance to be useful.