Nicolas Cannasse 19 years ago
parent
commit
2d2b3abe67
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/js/Boot.hx

+ 1 - 1
std/js/Boot.hx

@@ -109,7 +109,7 @@ class Boot {
 					// strange error on IE
 					return "???";
 				}
-				if( tostr != __js__("Object.toString") ) {
+				if( tostr != null && tostr != __js__("Object.toString") ) {
 					var s2 = o.toString();
 					if( s2 != "[object Object]")
 						return s2;