Note : As the letter 'y' can be regarded as both a vowel and a consonant, we do not count 'y' as vowel here.Ĩ. Write a JavaScript function that accepts a string as a parameter and counts the number of vowels within the string. Go to the editorĮxample string : 'Web Development Tutorial'ħ. Write a JavaScript function that accepts a string as a parameter and find the longest word within the string. Write a JavaScript function that accepts a string as a parameter and converts the first letter of each word of the string in upper case. Go to the editorĪssume punctuation and numbers symbols are not included in the passed string.ĥ. Write a JavaScript function that returns a passed string with letters in alphabetical order. Write a JavaScript function that generates all combinations of a string. Write a JavaScript function that checks whether a passed string is palindrome or not? Go to the editorĪ palindrome is word, phrase, or sequence that reads the same backward as forward, e.g., madam or nurses run.ģ. Write a JavaScript function that reverse a number.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |