This exact code will never give anything but false, therefore, it is meaningless as introduced. I assume this is a visualized output and that depending on some serveride variable, sometimes something else may be.
, window.XMLHttpRequest, , . [1,] , - Chrome Internet Explorer. Chrome , , IE , , .
-[1,0] NaN . -[1] -1 . , -[1,] NaN IE (, , ), -1 ( ).
. .
, window.XMLHttpRequest, , - .