@@toStringTag sounds like a function

Nathan Wall nathan.wall at live.com
Sat Oct 19 10:45:46 PDT 2013


The name `@@toStringTag` sounds like a function, like `toString` and `toFixed`, but it's just a string property.  The fact that `@@toPrimitive` is a function further makes the point.

Has just `@@stringTag` been considered?

Nathan 		 	   		  


More information about the es-discuss mailing list