On Oct 31, 2007, at 5:42 AM, Lars Hansen wrote:

The intrinsic names are for early binding. Since the prototypes are mutable nothing is known about their properties. So code that wishes to early-bind to methods would annotate its variables and open the intrinsic namespace to give preference to intrinsic methods over prototype methods. The benefits are performance, known semantics, and static type checking (in strict mode).

And you are right, they are not interestingly different: they have type annotations. (Usually, the prototype method calls the intrinsic method after performing type conversions mandated by ES3. There are a few wrinkles here and there but nothing important.)

I changed the subject so it may have been missed, but most of what I wrote at

https://mail.mozilla.org/pipermail/es4-discuss/2007-October/001415.html

which built on Graydon's message at

https://mail.mozilla.org/pipermail/es4-discuss/2007-October/001408.html

was about intrinsic. Hope it helps,

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

Reply via email to