7
Good afternoon,
I have a question in an exercise that I have to solve and I wanted to ask you to help me:
As I do a function in Javascript that takes as argument a string and checks if an email is valid, ie if it contains @is an email. And the function returns a boolean. Thank you
You can use regular expressions to check if the received string is a valid email. Take a look at this link: Regexone He’ll give you a good foundation.
– Armando K.