JavaScript Flashcards
Which keyword do you use to create a variable?
var
When a client requests a server-side script, a client will never see the server-side script, only the ____ that the web server software returns from the script.
HTML
A(n) _____ is a specific circumstance that is monitored by JavaScript and that your script can respond to in some way.
Event
Multiple lines of code that are not processed by browsers that are used to add notes about your code are called
Block comments
An object is ____ that can be treated as an individual unit or component.
programming code and data
When you assign a value to a variable, you use an equal sign, which is also called a(n) __________ operator.
assignment
____ can turn static documents into applications such as games or calculators.
JavaScript
JavaScript source files that store especially useful generic scripts used on many different websites are known as
libraries
The individual lines of code that make up a JavaScript program in a document are called
statements
A(n) ____ comment hides multiple lines of code.
block
Special words that are part of the JavaScript language syntax and that can’t be used as variable names are known as ____.
reserved words
Symbols such as + and * used in expressions to manipulate operands are known as ____.
operators
Variables and literals contained in an expression are known as ____.
operands
____ are lines of code that are not processed by browsers, which you use to add notes about your code.
comments
T/F JavaScript code is always stored in an external file separate from the HTML code for a web document.
False