This commit is contained in:
not-nullptr 2024-03-08 20:49:38 +00:00
parent 708a10d008
commit 957d389209

View file

@ -4,8 +4,14 @@
export let title: string;
export let releaseYear: number;
function capitalizeFirstLetter(string: string) {
return string.charAt(0).toUpperCase() + string.slice(1);
function capitalizeFirstLetter(string: typeof compatibility) {
if (string === "goated") {
return "Good";
} else if (string === "based") {
return "Okay";
} else if (string === "cringe") {
return "Bad";
}
}
</script>