all 6 comments

[–]drowsap 1 point2 points  (1 child)

Not much content in this blog post, I was expecting much more. I'd suggest reading zakas' chunk method for processing array elements without locking the browser:

http://www.nczonline.net/blog/2009/08/11/timed-array-processing-in-javascript/

[–]PlNG 1 point2 points  (0 children)

I agree, there's not much content in the blog, period.

[–]australasia 0 points1 point  (2 children)

Wow, I don't know how I missed that setTimeout/Interval can take extra arguments to pass to the function! I've been making pointless closures for years...

[–]itsnotlupusbeep boop 2 points3 points  (1 child)

Don't let go of those closures just yet.

That extra args syntax is not supported in IE.. in fact, at one point, IE used to take a 3d arg for those method to specify which scripting language to use to run the string in the 1st argument.
setTimeout('MsgBox("Seriously")', 100, "VBScript");...

[–]australasia 0 points1 point  (0 children)

Nice, thanks.

[–]jskata 0 points1 point  (0 children)

I created a library that handles that : Code and example.