Schwitzermod lol
This commit is contained in:
4
src/inc/schwitzer.mjs
Normal file
4
src/inc/schwitzer.mjs
Normal file
@ -0,0 +1,4 @@
|
||||
export function schwitzer(text) {
|
||||
text = text.split(" ");
|
||||
return text.map(word => word.match(/(i|l)$/gm) ? word : `${word}li`).join(" ")
|
||||
}
|
Reference in New Issue
Block a user