(no subject)
Aug. 22nd, 2005 01:22 pmYarr.
Just spent half an hour staring at a validation function, before realising I was using the same loop counter variable in two nested loops (several functions removed).
Yarr!
Just spent half an hour staring at a validation function, before realising I was using the same loop counter variable in two nested loops (several functions removed).
Yarr!
no subject
Date: 2005-08-23 06:38 pm (UTC)IIRC, in javascript, there's no such thing as local scope - pretty much everything's global.
Otherwise - infinite loop with alert() calls in it - nice.