Multiple Choice
Refer to the following code snippet and identify the use of the substring() and toLowerCase() methods. function pokerCard(cardSuit, cardRank) { … this.cardImage() = function() { var suitAbbr = this.suit.substring(0, 1) .toLowerCase() ; return suitAbbr + this.rankValue + ".p ng"; } }
A) To reset the text string in lowercase
B) To extract the last letter of the string in lowercase
C) To extract the first letter of the string in lowercase
D) To set the lowercase as default
Correct Answer:

Verified
Correct Answer:
Verified
Q56: Identify the structure in which any function,
Q57: Which of the following should be used
Q58: The biggest advantage of an object created
Q59: Identify the name:value pair that includes a
Q60: Which of the following commands is used
Q62: In an object literal, each _ pair
Q63: Match the following object properties/methods to their
Q64: Case-Based Critical Thinking Questions Case 13-4 Edward
Q65: Match the following object properties/methods to their
Q66: Identify the general syntax of the object