Upgrade to remove ads
Terms in this set (49)
Syntax Errors, Runtime Errors, and Logical
three types of errors in programming:
Syntax errors, also called
occur at compile time in traditional programming
Runtime errors, also called
occur during execution aftercompilation/interpretation.
can be the most difficult type of errors to track down.
to raise your built-in exceptions or your customized exceptions.
Error message, URL and Line number
three pieces of information to identify the exact nature of the error:
The same message that the browser would display for the given error
The file in which the error occurred
The line number in the given URL that caused the error
data type with a number of helper methods.
series of characters that has been properly encoded.
Returns a reference to the String function that created the object.
Returns the length of the string.
allows you to add properties and methods to an object.
constructor, length and prototype
list of the properties of String object
Returns the character at the specified index.
Returns a number indicating the Unicode value of the character at the
Combines the text of two strings and returns a new string.
Returns the index within the calling String object of the first occurrence of
the specified value, or -1 if not found.
Returns the index within the calling String object of the last occurrence of the specified value, or -1 if not found.
Returns a number indicating whether a reference string comes before or
after or is the same as the given string in sort order.
Used to match a regular expression against a string
Used to find a match between a regular expression and a string, and to
replace the matched substring with a new substring.
Executes the search for a match between a regular expression and a
Extracts a section of a string and returns a new string
Splits a String object into an array of strings by separating the string into
Returns the characters in a string beginning at the specified location
through the specified number of characters.
Returns the characters in a string between two indexes into the string.
The characters within a string are converted to lower case while
respecting the current locale.
The characters within a string are converted to upper case while
respecting the current locale.
Returns the calling string value converted to lower case.
Returns a string representing the specified object.
Returns the calling string value converted to uppercase.
Returns the primitive value of the specified object.
the capability to store related information, whether data or methods,
together in an object.
the capability to store one object inside another object.
the capability to write one function or method that works in a variety of
functions that let the object do something or let something be done to it
standalone unit of
attached to an object and can be referenced by the this keyword.
descendants of an object called Object
The new Operator
used to create an instance of an object
The Object Constructor
function that creates and initializes an object
The 'with' Keyword
used as a kind of shorthand for referencing an object's properties or
These objects are accessible anywhere in your
program and will work the same way in any browser running in any operating system.
YOU MIGHT ALSO LIKE...
Com Sci Unit 6 Quiz pg 1-3
AP Computer Science Chapter 2 Test
Alice Chapter 3 and 4 Vocab
Java: Classes and Objects
OTHER SETS BY THIS CREATOR
compro final exam