Apply editorconfig

This commit is contained in:
Andras Schmelczer 2025-12-07 13:38:23 +00:00
parent ad3191957a
commit b05e415acf
131 changed files with 16404 additions and 13617 deletions

View file

@ -1,10 +1,10 @@
export function randomCasing(str: string): string {
const chars = str.split("");
const randomCasedChars = chars.map((char) => {
if (Math.random() < 0.5) {
return char.toUpperCase();
}
return char.toLowerCase();
});
return randomCasedChars.join("");
const chars = str.split("");
const randomCasedChars = chars.map((char) => {
if (Math.random() < 0.5) {
return char.toUpperCase();
}
return char.toLowerCase();
});
return randomCasedChars.join("");
}