1f90115c8f
How it's done: On IE10, which should come first before the IE 9 check, the nodeName function always returns the name in uppercase. One IE9, the "Object doesn't support property or method" error always repeats the name of the invalid method.