Mark Volkmann wrote:
I'm curious why one of the public symbols has a name that ends with "Tag" ("toStringTag"), but the others don't (such as "toPrimitive"). Maybe "toStringTag" should be changed to "toString".

That would be the wrong name -- the Tag is specific, particular to the purpose of this symbol. It's not an under-used generic suffix for all well-known symbol names. See http://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring.

/be
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to