I learnt something, i didn't know that you can use Number as a function, i think i will move to primitives. thanks, Alex :)
On 9 oct, 15:40, kangax <[EMAIL PROTECTED]> wrote: > On Oct 9, 4:11 am, atrepp <[EMAIL PROTECTED]> wrote: > > > You are surely right about the utility of Number object over > > primitives and the overhead it can be. I use the Number Constructor to > > parse string and convert to Number and store it like that in my cache. > > Why don't you use `Number` (as a function, not as a constructor) to > type convert string into a number? > > > Cordially, > > Alex > > -- > kangax > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---