Skip to content

Commit 40a0e49

Browse files
author
formula-spectre
committed
removed the abominable js if
1 parent 167331e commit 40a0e49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scifi.d/misc/pss.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ <h3><div id="pssout"></div></h3>
117117
const charMap = new Map();
118118
let result = "";
119119
for (const char of input) {
120-
if (char !== " " && !charMap.has(char) && char === "A"&& char === "E" && char === "I" && char === "O" && char === "U" ) {
120+
if (char !== " " && !charMap.has(char)) {
121121
charMap.set(char, true);
122122
result += char;
123123
}

0 commit comments

Comments
 (0)