Nicolas Cannasse %!s(int64=19) %!d(string=hai) anos
pai
achega
2d2b3abe67
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;