Last active
June 18, 2018 03:22
-
-
Save sadick254/eaf34bc5cd4a419d06d229ef885cf7b1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function validateEmail(email) { | |
// validate and return true or false | |
} | |
function isEmailValid(email) { | |
// validate and return true or false | |
} | |
function emailIsValid(email) { | |
// validate and return true or false | |
} | |
function isEmail(email) { | |
// validate and return true or false | |
} | |
function isValidEmail (email) { | |
// validate and return true or false | |
} | |
const email = "[email protected]"; | |
if (validateEmail(email)) { | |
// do some stuff | |
} | |
if (isEmailValid(email)) { | |
// do some stuff | |
} | |
if (emailIsValid(email)) { | |
// do some stuff | |
} | |
if (isEmail(email)) { | |
// do some stuff | |
} | |
if (isValidEmail(email)) { | |
// do some stuff | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment