Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a JavaScript function on the following: a.) Create a function that will determine if a sentence is a pangram. . pangram is a sentence

image text in transcribed

Write a JavaScript function on the following: a.) Create a function that will determine if a sentence is a pangram. . pangram is a sentence that uses every letter of the alphabet at least once. Example: the quick brown fox jumps over the lazy dog. Function should validate if the input string is a sentence or phrase, case insensitive and should also not contain non-ASCII symbols. b.) Given a word, create a function that will compute for the its Scrabble score. Consider the table below. Function should validate to only accept non-empty string values and one word inputs. Example: G-H-O-S-T = 9 points = Dr 1 3 2 4 1 A, . B, C, D, E, F, G, H, I, 1 J, K, L, M, N, O, P, Q.. Q. R. S, T, T U V , W, X, Y. 5 20 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

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