fix(A1Z26): return empty string instead of empty array for empty input (#2257)
This commit is contained in:
@@ -76,7 +76,7 @@ class A1Z26CipherDecode extends Operation {
|
||||
const delim = Utils.charRep(args[0] || "Space");
|
||||
|
||||
if (input.length === 0) {
|
||||
return [];
|
||||
return "";
|
||||
}
|
||||
|
||||
const bites = input.split(delim);
|
||||
|
||||
Reference in New Issue
Block a user