Function: tst_name Parameter: A string. Returns: true if the given string has the form string1, string2 letter

Question:

Function: tst_name
Parameter: A string.
Returns: true if the given string has the form

string1, string2 letter

where both strings must be all lowercase letters except for the first
letter and letter must be uppercase; false otherwise.


Write, test, and debug (if necessary) JavaScript scripts for the problem that above. When required to write a function, you must include a script to test the function with at least two different data sets. In all cases, for testing, you must write an HTML file that references the JavaScript file.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: