| Term 
 | Definition 
 
        | a dialog box generated by JavaScript that displays a text message with an OK button, which a user clicks to close the dialog box |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | declared, not initialized, in a function's parenthesis. It is initialized when the function is called just by including a value with the function call, inside the function's parenthesis. |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | signle line that indicates an action for the browser to take and ends with a semicolon |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a value that indicates the truth or falsity of a statement |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | What JavaScript is; must use correct characters |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | - programs run on each user's computer - scripts are processed and executed by the web browser on the client's machine
 - scripts are embedded in the HTML document or stored in an external file
 - frees server from processing
 |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | - may be added as a single line // single comment
 - may be added after JavaScript statements
 document.write // comment
 - may be written over multiple lines
 /* this is text
 isn't it cool
 studying for a test
 */
 |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a language in which the program code must be submitted to a compiler that manipulates it, translating the code into a more basic language that machines can understand |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | the type of information stored in a varaible |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | the process of searching code to locate a source of trouble |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | the process of telling the JavaScript interpreter to reserve memory space for a variable |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a collection of commands that perform an action or return a value |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | text that identifies a function |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a variable with a global scope 
 - variables not declared within functions
 |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a language in which the program code is executed directly without compiling |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a subscript of Java, meant to be easy for nonprogrammers to use |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a slightly different version of JavaScript, supported by Internet Explorer |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | an error that occurs when a script is first loaded by the browser |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a variable with local scope - can be referenced only within that function
 |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | an error that doesn't involve syntax and structural mistakes, but results in incorrect results |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a process by which JavaScript manipulates or acts upon the properties of an object; object; an action that an object performs |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | code that entails breaking up a program's different tasks into smaller, more manageable chunks |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | indicates that no value has yet been assigned to the variable |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | any number, such as 13, 22.5, or -3.14159 |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | any item from the browser window itself to a document displayed in the browser to an element displayed within the document. |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a variable associated with a function |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | error that occurs after a script has been successfully loaded and is being executed; occurs when the browser cannot complete a line of code |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a property of a variable that indicates where you can reference the variable within the web page |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | - programs are placed on the server that hosts a web site - scripts are processed and executed by the web server
 - can be problematic, overload
 |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a single line that indicates an action for the browser to take |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a language that forces the programming to explicitly identify a variable's data type |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | any group of characters, such as "happy holidays" or "hello" or "421 Sunrise lane" |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a named item in a program that stores information |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a lanaguage in which variables are not strictly tied to specific data types; JavaScript is an example |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | an operator that assigns a value to an item 
 used when assigning values to items within a JavaScript statement
 |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | an operator that performs a simple mathematical calculation on two operands in an expression; also known as a arithmetic operator |  | 
        |  | 
        
        | Term 
 
        | Comparison (relational) operator   |  | Definition 
 
        | an operator that compares the value of one expression to another |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a ternary operator that tests whether a certain condition is true and returns one value if the condition is true and a different value if the condition is not true |  | 
        |  | 
        
        | Term 
 
        | (condition) ? trueValue : falseValue   |  | Definition 
 | 
        |  | 
        
        | Term 
 | Definition 
 
        | a method you can use to retrieve information from a date object or to change a date object's value 
 used with the variable names that store Date object information
 |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | an object that contains information about a specified date and time |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | the unary operator that decreases the operand's value by 1, indicated by the - symbol |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | an action that occurs within a web browser or web document; an action undertaken by the user or the browser that impacts the object in some way |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a statement that tells browsers what code to run in response to a specified event |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | the unary operator that increaes the value of the operand by 1, indicated by the ++ symbol |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | an operator that allows you to connect two or more Boolean expressions |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a method that stores functions for performing advanced calculations and mathematical operatiosn such as generating random numbers, extracting square roots, and calculating trigonometric values |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | an object that can be used for performing mathematical operatiosn and storing mathematical values |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | the unary operator that changes the sign of (or negates) an item's value |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | the variable or expression that operators act upon |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | a symbol used to act upon an item or a variable within a JavaScript expression |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | parentheses: () multiply: *, division: /, and modulo/remainder: %
 addition: +, subtraction: -
 |  | 
        |  | 
        
        | Term 
 
        | Time-delayed command  - setTimeout()  
 |  | Definition 
 
        | a command that is run after a specified amount of time has passed |  | 
        |  | 
        
        | Term 
 
        | Time-interval command – setInterval()
   |  | Definition 
 
        | a command that instructs the browser to run the same command repeatedly at specified intervals |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | an operator that works on only one operand; can make code more compact and efficient |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | may be embedded in head element or the body element of a web page |  | 
        |  | 
        
        | Term 
 | Definition 
 
        | an operator that performs a simple mathematical calculation on two operands in an expression; also known as a binary operator |  | 
        |  | 
        
        | Term 
 
        | code for assigning values variables |  | Definition 
 
        | var firstname; firstname = "bobby";
 var lastname = "bearcat";
 |  | 
        |  | 
        
        | Term 
 
        | code for writing  functions |  | Definition 
 
        | function name(parameters) {
 commands
 return value;
 }
 |  | 
        |  | 
        
        | Term 
 
        | code for calling  functions |  | Definition 
 
        | [script type = "text/javascript"] functionName();
 [/script]
 
 * this is after declaration in head code
 |  | 
        |  | 
        
        | Term 
 
        | code for using external  .js files |  | Definition 
 
        | [script src = "demo.js" type = "text/javascript"] [/script]
 |  | 
        |  | 
        
        | Term 
 
        | code for using Math  methods such as Math.ceil(x)
 |  | Definition 
 
        | returns x rounded up to the next highest integer |  | 
        |  | 
        
        | Term 
 
        | code for using math methods such as: Math.floor(x) |  | Definition 
 
        | returns x rounded down to the next lowest integer |  | 
        |  | 
        
        | Term 
 
        | code for using math methods such as: Math.max(x,y) |  | Definition 
 
        | returns the larger value x or y |  | 
        |  | 
        
        | Term 
 
        | code for using math methods such as: Math.min(x.y)
 |  | Definition 
 
        | returns the smaller of x and y |  | 
        |  | 
        
        | Term 
 
        | code for using math methods such as: Math.pow(x,y) |  | Definition 
 
        | returns x raised to the y |  | 
        |  | 
        
        | Term 
 
        | code for using math methods such as: Math.random() |  | Definition 
 
        | returns a random number between 0 and 1 |  | 
        |  | 
        
        | Term 
 
        | code for using math methods such as: Math.round(x) |  | Definition 
 
        | returns x rounded to the nearest integer |  | 
        |  | 
        
        | Term 
 
        | code for referencing  objects |  | Definition 
 
        | object.property = expression; |  | 
        |  | 
        
        | Term 
 
        | code for using event  handlers such as: onload
 |  | Definition 
 | 
        |  | 
        
        | Term 
 
        | code for using event handlers such as onmouseover
 |  | Definition 
 
        | when mouse is moved - code is activated |  | 
        |  | 
        
        | Term 
 
        | code for using event handlers such as: onclick
 |  | Definition 
 
        | object is clicked with mouse button |  | 
        |  | 
        
        | Term 
 
        | code for using Data  objects and  methods |  | Definition 
 
        | var variable = new Date("month day, year hours:minutes:seconds"); 
 var currentDate = new Date();
 
 
 variableName.dateObjectMethod();
 |  | 
        |  | 
        
        | Term 
 
        | code for using numeric functions and methods such as: isFinite(value)
 |  | Definition 
 
        | returns a boolean value indicating whether value is finite and a legal number |  | 
        |  | 
        
        | Term 
 
        | code for using numerical functions and methods such as: isNaN(value) |  | Definition 
 
        | returns a boolean value, which has the value true if value isn't a number |  | 
        |  | 
        
        | Term 
 
        | code for using numeric functions and methods such as: parseFloat(string)
 |  | Definition 
 
        | extracts the first numeric value from a string |  | 
        |  | 
        
        | Term 
 
        | code for using numeric functions and methods such as: parseInt(string) |  | Definition 
 
        | extracts the first integer value from a text string |  | 
        |  | 
        
        | Term 
 
        | code for numeric functions and methods such as: value.toExponential(n)
 |  | Definition 
 
        | returns a text string displaying value in exponential notation with n digits to the right of the decimal point |  | 
        |  | 
        
        | Term 
 
        | code for numeric functions and methods such as: value.toFixed(n)
 |  | Definition 
 
        | returns a text string displaying value to n decimal places |  | 
        |  | 
        
        | Term 
 
        | code for numeric functions and methods such as: value.toPrecision(n)
 |  | Definition 
 
        | returns a text string displaying value to n significant digits either to the left or to the right of the decimal point |  | 
        |  | 
        
        | Term 
 
        | code for evaluating  expressions using: arithmetic  operators ( +  -  *  /   %)
 |  | Definition 
 
        | sum = 4 + 5 
 answer = 4 * 9 / 6 + 2 - 1 * 3
 
 question = 45 % 6
 
 dif  = 6 - 3
 
 quo = 4 / 2
 
 mult = 6 * 9
 |  | 
        |  | 
        
        | Term 
 
        | code for evaluating expressions using: increment operator ( x++        ++x)
 |  | Definition 
 
        | requires one operand adds 1 to single operand
 operand may be number
 |  | 
        |  | 
        
        | Term 
 
        | code for evaluating expressions using: decrement  operator ( x--        --x)
 |  | Definition 
 
        | requires one operand subtracts 1 to single operand
 operand may be number
 |  | 
        |  | 
        
        | Term 
 
        | code for evaluating expressions using: 
assignment  operators ( =        +=        -=         *=        /=         %=                             )   |  | Definition 
 
        | used when assigning values to items within a JavaScript Statement 
 x  = x + y;
 x += y;
 x++
 y--
 |  | 
        |  | 
        
        | Term 
 
        | code for evaluating expressions using: conditional  operator
 (condition) ?  trueValue :        falseValue
 |  | Definition 
 
        | tests whether a certain condition is true or not 
 thisHour = (thisHour == 0) ? 12: thisHour;
 |  | 
        |  | 
        
        | Term 
 
        | code evaluating expressions using:comparison or  relational       operators
 ( ==         !=         <          <=        <          <= ) |  | Definition 
 
        | compares two expressions or variables and returns a Boolean value as a result 
 a = 3
 d = 4
 c = 10
 
 d + 1 > 5
 c % a < 2
 c != 2
 a <= d
 c - 6 >= d
 |  | 
        |  | 
        
        | Term 
 
        | code evaaluating expressions using: logical  operators ( !     &&       ||       ) |  | Definition 
 
        | (x == 20) && (y==25) 
 (x == 20)   ||  (y<10)
 
 !(x = 20)
 |  | 
        |  |