zibrnp Posted February 11, 2014 Share Posted February 11, 2014 Hello,I have been testing code on page 478 step 2 and don't understand why there is "error.message" instead of "ex.message"? try { ajax = new ActiveXObject('MSXML2.XMLHTTP.3.0'); } catch (ex) { console.log('Could not create the ActiveXObject: ' + error.message + '\n'); } Maybe the answer is simple but it bothers me a lot Could anyone help me understand it, please?Regards, T Link to comment Share on other sites More sharing options...
Larry Posted February 11, 2014 Share Posted February 11, 2014 Er...probably because I made a mistake. It should be ex.message. My apologies for the confusion! I'll get that fixed. Link to comment Share on other sites More sharing options...
zibrnp Posted February 11, 2014 Author Share Posted February 11, 2014 Thank you very much. Amazing book! Link to comment Share on other sites More sharing options...
Larry Posted February 11, 2014 Share Posted February 11, 2014 Thanks for saying so. Sorry about the miscue! Link to comment Share on other sites More sharing options...
Recommended Posts