Consider the previous tutorial for this tutorial.
If you enter an email address without the
@, you’ll get an alert asking you to re-enter the data. Now question is, what is:
x.indexOf("@")==-1 basically means: “if the string doesn’t include @, then:
Thanks for reading…