Fix void's val_to_string

This commit is contained in:
Andrew Morris
2022-05-16 10:13:51 +10:00
parent 6c17442dc9
commit 271f1ca032

View File

@@ -73,7 +73,7 @@ impl ValTrait for Val {
use Val::*;
return match self {
Void => "undefined".to_string(),
Void => "".to_string(),
Undefined => "undefined".to_string(),
Null => "null".to_string(),
Bool(b) => b.to_string(),