mubaris / curiosity

Find Amazing Github :octocat: Projects :zap:
https://mubaris.github.io/curiosity/
244 stars 65 forks source link

Add function to check if a given username already exists in the USERNAMES array #66

Closed keenanamigos closed 7 years ago

keenanamigos commented 7 years ago

Goal was to provide a more readable and reusable existing username check in the code by providing a named function that checks if a given username already exists in the USERNAMES array using Array.includes.

mubaris commented 7 years ago

Thanks @keenanamigos :+1: I hope to see more contributions from you.

keenanamigos commented 7 years ago

Thank you @mubaris!