Validate Email
In this challenge, you need to check if an email contains the character
The
@ and assign the result to the variable isValidEmail. Use the includes() method to solve this. The
includes() method checks if a specific element exists within a string or array. It returns true if the element is found, and false otherwise. Example: "abc".includes("b") returns true.Premium
JavaScript
Console