formating improvement

This commit is contained in:
MathMan05 2024-10-08 13:49:13 -05:00
parent af9e186f4f
commit c23347e394

View file

@ -440,18 +440,7 @@ txt[j + 1] === undefined)
if(txt[i] === "<" && (txt[i + 1] === "@" || txt[i + 1] === "#")){
let id = "";
let j = i + 2;
const numbers = new Set([
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
]);
const numbers = new Set(["0","1","2","3","4","5","6","7","8","9",]);
for(; txt[j] !== undefined; j++){
const char = txt[j];
if(!numbers.has(char)){