Fix #3078
This commit is contained in:
parent
9668ce7dbb
commit
586721462c
|
@ -4,7 +4,7 @@
|
|||
*/
|
||||
|
||||
function arrayToString(a) {
|
||||
return "[" + a.join(", ") + "]";
|
||||
return Array.isArray(a) ? ("[" + a.join(", ") + "]") : "null";
|
||||
}
|
||||
|
||||
String.prototype.seed = String.prototype.seed || Math.round(Math.random() * Math.pow(2, 32));
|
||||
|
|
Loading…
Reference in New Issue