[jQuery] Determining the length of an object/array in IE

[jQuery] Determining the length of an object/array in IE


I know this should be simple, I know this should work, but it isn't
and doesn't.
so if you take a look-see at http://www.roberthenrylowe.com/lab/jQuery/codeconverter.html
in Firefox, you'll see what I am trying to accomplish and in fact, it
works there. Basically I take a <code> block and make it a fancy
formatted <ol>, except in IE, the jQuery code found at
http://www.roberthenrylowe.com/lab/jQuery/codeconverter.js fails
silently around line 20 and don't understand why. Can anyone help out?
Thanks!