NodeJS help | Leave function

I have been working on this chat app and I have been stuck on trying to make a leave function

Could some fork this repl, make a user left the chat function, and post it in a reply. I will credit you in my repl

Thanks, Jipp
https://replit.com/@jipp/chatrooms

I’ve moved this topic to #general:collaborations . If anyone would like to collaborate with @jipp feel free to get in touch with them.