Initial commit — Pokemon Doors Randomiser

This commit is contained in:
2026-06-03 20:25:09 +09:30
commit 4737c2c905
3029 changed files with 632320 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
module.exports = function cc(names) {
if (typeof names === "string" || typeof names === "number") return "" + names
let out = ""
if (Array.isArray(names)) {
for (let i = 0, tmp; i < names.length; i++) {
if ((tmp = cc(names[i])) !== "") {
out += (out && " ") + tmp
}
}
} else {
for (let k in names) {
if (names[k]) out += (out && " ") + k
}
}
return out
}