After today's Twitter discussions surrounding babel, concise methods, and a
functions name property I had a thought and I was curious if it had been
discussed before.

Is there a very good reason that the "name" property of a function is not a
well known Symbol property? My understanding is it's main use is for
debuggers anyway. It just seems like it would be more in line with the rest
of the spec.

​I think it would be best to put more distance between the name property of
a function and it's binding​ (if any) to reduce any potential confusion.
Making it a symbol property and (also my opinion) making it writable would
help in reducing said confusion.


- Matthew Robb
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to