add special handling for undefined console content (#935)
This commit is contained in:
@@ -117,9 +117,8 @@ export function stringify(
|
|||||||
}
|
}
|
||||||
/* END of the FORK */
|
/* END of the FORK */
|
||||||
|
|
||||||
if (value === null || value === undefined) {
|
if (value === null) return value;
|
||||||
return value;
|
if (value === undefined) return 'undefined';
|
||||||
}
|
|
||||||
if (shouldIgnore(value as object)) {
|
if (shouldIgnore(value as object)) {
|
||||||
return toString(value as object);
|
return toString(value as object);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user