From c6144cef021bf64c420853c8bf78f9714e478754 Mon Sep 17 00:00:00 2001 From: Shahan Arshad <68821506+sazk07@users.noreply.github.com> Date: Tue, 31 Dec 2024 03:59:06 +0500 Subject: [PATCH] Edit: formatting suggestion by linter/formatter --- .../extensions/forms/form_validation/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/learn_web_development/extensions/forms/form_validation/index.md b/files/en-us/learn_web_development/extensions/forms/form_validation/index.md index a054f877a41fe3d..f0a62537fc9b18a 100644 --- a/files/en-us/learn_web_development/extensions/forms/form_validation/index.md +++ b/files/en-us/learn_web_development/extensions/forms/form_validation/index.md @@ -791,7 +791,7 @@ const emailRegExp = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/; // Check if the email is valid -const isValidEmail = () => { +const isValidEmail = () => { const validity = email.value.length !== 0 && emailRegExp.test(email.value); return validity; };