dimanche 12 décembre 2021

Why well-know symbols are in Symbol and not in Reflect API

I don't understand one thing about well-known symbols in Javascript. What is the reason of putting those well-known symbols into Symbol instead of Reflect API? For me seems that the right place for them is the Reflect API as the Reflect API is made for metaprogramming, particularly for reflection and particularly for introspection and self-modification? Does anyone knows the reason of doing so?





Aucun commentaire:

Enregistrer un commentaire