This commit is contained in:
Mirco Wittrien 2020-03-16 08:30:11 +01:00
parent f62e088cfd
commit f7a07029aa
2 changed files with 3 additions and 2 deletions

View File

@ -6130,7 +6130,8 @@
try {returnvalue = stringobj.format(formatvars);}
catch (err) {
returnvalue = null;
formatvars[err.toString().split("for: ")[1]] = values.shift() || "undefined";
let value = values.shift();
formatvars[err.toString().split("for: ")[1]] = value != null ? value : "undefined";
}
}
if (returnvalue) {

File diff suppressed because one or more lines are too long