Chapter 8 Flashcards
Text contained within double or single quotation marks
string
Converts a JSON string value to an object
parse()
Separates alternate sets of substrings in a regular expression
|
A standardized set of characters from many of the world’s languages
Unicode
Removes the last element from the end of an array
pop()
Combines array elements into a string
join()
Compares strings according to the particular sort order of a language or country
localeCompare() method
Special character that defines pattern matching rules in a regular expression
metacharacter
Metacharacter that specifies the quantity of a match
quantifier
Adds one or more elements to the end of an array
push()
The ____ object contains methods and properties for working with regular expressions in JavaScript.
RegExp
To sort elements of an array alphabetically, you use the ____ method.
sort()
The fromCharCode() method is called a ____ method because it is not used as a method of any string objects (which can be literal strings or variables) in your scripts.
static
To allow a string to contain an alternate set of substrings, you separate the strings in a regular expression pattern with the ____ metacharacter.
|
The ____ method converts a text string to lowercase.
toLowerCase()