Answered step by step
Verified Expert Solution
Question
1 Approved Answer
show the code and output running simultaneously for the given problem Write JavaScript code to print the email address(es) exported from the following module. You
show the code and output running simultaneously for the given problem
Write JavaScript code to print the email address(es) exported from the following module. You need to pass a text file containing email addresses. As example," boleh firmansyah1404@gmail.com minta kirim ke db.maulana@gmail.com terimakasih bu Cindy Hartanto". Note that module file and the file using the module are two different files. No point assigned if the supplied code was not used as a module. // module "findemail.js" export function findEmail(text) \{ return text.match(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9_-]+)/gi); \}Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started