Brilliant Martin!

as usual...!


Martin Ström wrote:
> Try benchmarking this solution as well, it doesn't even use an for
> loop which could make it even a bit faster:
>
> String.prototype.times3 = function(count) {
>     return new Array(count + 1).join(this);
> }
>
> Hej
> Martin


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to