On Jan 30, 2008 12:01 AM, Andrew Dupont <[EMAIL PROTECTED]> wrote:
>
> In ECMAScript 4, parseInt and parseFloat are becoming static methods
> on Number, not on String (i.e., Number.parseInt("3")). I could more
> easily see adding String#toNumber, but it's not a must-have for me.
> What do others think?
I don't care very much either, that's why I think it's not needed. We have
just witnessed how easy it is to add, then why don't leave it to the users
who use parseInt/Float extensively? We only use it a couple of times within
the framework.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---