Subj : Spidermonkey: Hash array lookup failure To : netscape.public.mozilla.jseng From : pppp2pppp Date : Mon May 03 2004 06:24 pm (Hopefully this is ontopic, please redirect me if not) Hi, is there a JS1.3 to JS1.5 way to detect Hash array lookup failures?? I have code like so:- try { groupID = groupHash[students[i][0] + "_" + columnLookup["ID"][j]] [0]; } catch(ex) { groupID = 0; } Which works fine in v5+ browsers. But NN4 (JS1.3 i think) doesn't understand try at all and errors out (I believe try/catch was introduced in JS1.4). I can't find a reference to hash arrays in the Javascript references on DevEdge, but have found example code on the web that gives examples of Hash arrays in NN4. How does one handle a lookup failure in the NN4 case?? (which I imagine should work in v5+ browsers as well). Thanks in advance, Hi Chow .