From: Allen Wirfs-Brock [[email protected]]

> Why is setTypeOf attached to Function? There would seem to be very little to 
> naturally associate it with Function.  I suppose it's because that's where 
> you put 'defineOperator'.  Even there, the association with Function seems 
> tenuous.   I actually find a stronger association with Math. But really, why 
> aren't these just functions export from the reflection module or some other 
> standard module?

+1, I was wondering the same. Just put these as functions in a module; they are 
not methods of `Function`. In particular, I assume they don't do `new this()` 
anywhere like the array statics do.

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

Reply via email to