On Oct 7, 11:17 am, Tom Gregory <[EMAIL PROTECTED]> wrote: > How 'bout POLS?
It's a bit hard to tell what "intuitive" definition of "number" is in a weakly typed language. According to ECMA-262 specs, an object created with `new Number` is not of type number but rather of type object. Besides somewhat moot type definition in JS, adding `instanceof` check introduces notorious cross-frame issues. Taking care of those issues results in additional complexity (just for the benefit of taking care of edge cases). > > TAG -- kangax --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---
