Question: Write a JavaScript function to check whether a phone number is a valid one or not. If the phone number is valid, your function should
Write a JavaScript function to check whether a phone number is a valid one or not. If the phone number is valid, your function should return true, false otherwise.
A valid phone number is the one that is formed from exactly 7 digits and starts with either 22 or 36
attention: Be fast please its an rich internet application course
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
