I'm using prototype 1.4.0 in a big web application I've been working on for months and today a bug was raised by one of our testers. After investigation it turns out that something done 0 times will actually fire once. So, for example, if I had

(0).times( function(i) { alert(i); } );

it'd fire once rather than not at all. Is this a bug in prototype or the expected behaviour?

Eifion
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to