Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(1a)Write a function named isLetter that accepts a character and returns true if the character is an alphabetic character, false otherwise. Your function should work

(1a)Write a function named isLetter that accepts a character and returns true if the character is an alphabetic character, false otherwise. Your function should work for both upper and lower case characters. Use a RegExp to solve this problem.

(1b)Re-write your previous isLetter function as an arrow function.

(2a)Write a function named isVowel that accepts a character and returns true if the character a vowel, false otherwise. Your function should work for both upper and lower case vowels. Use a RegExp to solve this problem. AssumeY is a vowel.

(2b)Re-write your previous isVowel function as an arrow function.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

8. Providing support during instruction.

Answered: 1 week ago