|
Core Javascript Guide - Index
Index
Symbols
-
- (bitwise NOT) operator
1
-
- (unary negation) operator
1
-
-- (decrement) operator
1
-
! (logical NOT) operator
1
-
!= (not equal) operator
1
-
!== (strict not equal) operator
1
-
% (modulus) operator
1
-
%= operator
1
-
&& (logical AND) operator
1
-
& (bitwise AND) operator
1
-
&= operator
1
-
*/ comment
1
-
*= operator
1
-
+ (string concatenation) operator
1
-
++ (increment) operator
1
-
+= (string concatenation) operator
1
-
+= operator
1
-
/* comment
1
-
// comment
1
-
/= operator
1
-
< (less than) operator
1
-
<< (left shift) operator
1,
2
-
<<= operator
1
-
<= (less than or equal) operator
1
-
== (equal) operator
1
-
=== (strict equal) operator
1
-
-= operator
1
-
> (greater than) operator
1
-
>= (greater than or equal) operator
1
-
>> (sign-propagating right shift) operator
1,
2
-
>>= operator
1
-
>>> (zero-fill right shift) operator
1,
2
-
>>>= operator
1
-
?: (conditional) operator
1
-
^ (bitwise XOR) operator
1
-
^= operator
1
-
| (bitwise OR) operator
1
-
|= operator
1
-
|| (logical OR) operator
1
-
(comma) operator
1
Numerics
-
1.5 features
1
A
-
AND (&&) logical operator
1
-
AND (&) bitwise operator
1
-
anonymous functions
1
-
arguments array
1
-
arithmetic operators
1
-
% (modulus)
1
-
-- (decrement)
1
-
- (unary negation)
1
-
++ (increment)
1
-
Array object
-
creating
1
-
overview
1
-
arrays
-
associative
1
-
defined
1
-
deleting elements
1
-
indexing
1
-
Java
1
-
literals
1
-
populating
1
-
referring to elements
1
-
regular expressions and
1
-
two-dimensional
1
-
undefined elements
1
-
ASCII
-
glossary entry
1
-
Unicode and
1
-
assignment operators
1
-
%=
1
-
&=
1
-
*=
1
-
+=
1
-
/=
1
-
<<=
1
-
-=
1
-
>>=
1
-
>>>=
1
-
^=
1
-
|=
1
-
conditional statements and
1
-
defined
1
B
-
bitwise operators
1
-
& (AND)
1
-
- (NOT)
1
-
<< (left shift)
1,
2
-
>> (sign-propagating right shift)
1,
2
-
>>> (zero-fill right shift)
1,
2
-
^ (XOR)
1
-
| (OR)
1
-
logical
1
-
shift
1
-
BLOb, glossary entry
1
-
Boolean literals
1
-
Boolean object
1
-
conditional tests and
1,
2
-
Boolean type conversions (LiveConnect)
1
-
booleanValue method
1
-
break statement
1
C
-
capturing parentheses
-
parentheses
-
capturing
1
-
case sensitivity
1
-
object names
1
-
property names
1
-
regular expressions and
1
-
case statement
-
See switch statement
1
-
catching exceptions
1
-
CGI, glossary entry
1
-
char arguments
1
-
class-based languages, defined
1
-
classes
-
defining
1
-
Java
1
-
LiveConnect
1,
2
-
client
-
glossary entry
1
-
client-side JavaScript
1
-
glossary entry
1
-
comma () operator
1
-
comments, types of
1
-
comment statement
1
-
comparison operators
1
-
!= (not equal)
1
-
!== (strict not equal)
1
-
< (less than)
1
-
<= (less than or equal)
1
-
== (equal)
1
-
=== (strict equal)
1
-
> (greater than)
1
-
>= (greater than or equal)
1
-
conditional (?:) operator
1
-
conditional expressions
1
-
conditional statements
1,
2
-
if...else
1
-
switch
1
-
conditional tests
-
assignment operators and
1
-
conditional tests, Boolean objects and
1,
2
-
constant
1
-
constants
1
-
constructor functions
1
-
global information in
1
-
initializing property values with
1
-
containership
-
specifying default object
1
-
with statement and
1
-
continue statement
1
-
CORBA, glossary entry
1
-
core JavaScript, glossary entry
1
D
-
data types
-
Boolean conversions
1
-
converting
1
-
converting with LiveConnect
1,
2
-
and Date object
1
-
JavaArray conversions
1
-
JavaClass conversions
1
-
JavaObject conversions
1
-
in JavaScript
1,
2
-
JavaScript to Java conversion
1
-
Java to JavaScript conversion
1
-
null conversions
1
-
number conversions
1
-
other conversions
1
-
string conversions
1
-
undefined conversions
1
-
Date object
-
creating
1
-
overview
1
-
decrement (--) operator
1
-
default objects, specifying
1
-
delete operator
1,
2
-
deleting
-
array elements
1
-
objects
1,
2
-
properties
1
-
deprecate, glossary entry
1
-
directories, conventions used
1
-
do...while statement
1
-
document conventions
1
E
-
ECMA, glossary entry
1
-
ECMAScript, glossary entry
1
-
ECMA specification
1,
2
-
JavaScript documentation and
1
-
JavaScript versions and
1
-
terminology
1
-
else statement
-
See if...else statement
1
-
escape function
1
-
escaping characters
1
-
Unicode
1
-
eval function
1
-
exceptions
1
-
catching
1
-
handling
1,
2
-
handling in Java
1
-
Java, handling in JavaScript
1
-
throwing
1
-
exec method
1
-
expressions
-
See also regular expressions
1
-
conditional
1
-
overview
1
-
that return no value
1
-
types of
1
-
external functions, glossary entry
1
F
-
floating-point literals
1
-
floatValue method
1
-
for...in statement
1,
2
-
for loops
-
continuation of
1
-
sequence of execution
1
-
termination of
1
-
for statement
1
-
function keyword
1
-
Function object
1
-
functions
1
-
arguments array
1
-
calling
1
-
defining
1
-
Function object
1
-
predefined
1
-
recursive
1
-
using built-in
1
-
functions in expressions
1
G
-
getDay method
1
-
getHours method
1
-
getMember method
1
-
getMinutes method
1
-
getSeconds method
1
-
getters
1
-
getTime method
1
-
global object
1
-
greedy quantifiers
1
H
-
HTML
-
glossary entry
1
-
HTTP
-
glossary entry
1
I
-
if...else statement
1
-
increment (++) operator
1
-
inheritance
-
class-based languages and
1
-
multiple
1
-
property
1
-
initializers for objects
1
-
in operator
1
-
instanceof operator
1,
2
-
integers, in JavaScript
1
-
internationalization
1
-
IP address, glossary entry
1
-
isFinite function
1
-
isNaN function
1
J
-
Java
-
See also LiveConnect
1
-
accessing JavaScript
1
-
accessing with LiveConnect
1
-
arrays in JavaScript
1
-
calling from JavaScript
1
-
classes
1
-
communication with JavaScript
1,
2
-
compared to JavaScript
1,
2,
3
-
exceptions in JavaScript
1
-
to JavaScript communication
1
-
JavaScript exceptions and
1
-
methods requiring char arguments
1
-
objects, naming in JavaScript
1
-
object wrappers
1
-
packages
1
-
JavaArray object
1,
2
-
JavaArray type conversions
1
-
JavaClass object
1,
2
-
JavaClass type conversions (LiveConnect)
1
-
JavaObject object
1,
2
-
JavaObject type conversions
1
-
java package
1
-
JavaPackage object
1,
2
-
JavaScript
-
accessing from Java
1
-
background for using
1
-
communication with Java
1,
2
-
compared to Java
1,
2,
3
-
differences between server and client
1
-
ECMA specification and
1
-
to Java Communication
1
-
object wrappers
1
-
overview
1
-
special characters
1
-
versions and Navigator
1
-
JSException class
1,
2
-
JSObject, accessing JavaScript with
1
-
JSObject class
1
L
-
labeled statements
-
with break
1
-
with continue
1
-
label statement
1
-
left shift (<<) operator
1,
2
-
length property
1
-
links
-
with no destination
1
-
literals
1
-
Array
1
-
Boolean
1
-
floating point
1
-
integers
1
-
object
1
-
string
1
-
LiveConnect
1,
2
-
accessing Java directly
1
-
converting data types
1,
2
-
glossary entry
1
-
Java to JavaScript communication
1
-
objects
1
-
logical operators
1
-
! (NOT)
1
-
&& (AND)
1
-
|| (OR)
1
-
short-circuit evaluation
1
-
lookahead assertions
1
-
loops
-
continuation of
1
-
for...in
1
-
termination of
1
-
loop statements
1,
2
-
break
1
-
continue
1
-
do...while
1
-
for
1
-
label
1
-
while
1
-
lowercase
1
M
-
matching patterns
-
See regular expressions
1
-
match method
1
-
Math object
1
-
methods
-
defined
1
-
defining
1
-
static
1
-
MIME, glossary entry
1
-
modulus (%) operator
1
N
-
Navigator, JavaScript versions supported
1
-
Navigator JavaScript. See client-side JavaScript
1
-
netscape package
1
-
Netscape packages
-
See packages
1
-
new operator
1,
2
-
non-capturing parentheses
1
-
parentheses
-
non-capturing
1
-
NOT (!) logical operator
1
-
NOT (-) bitwise operator
1
-
null keyword
1
-
null value conversions (LiveConnect)
1
-
number formatting
1
-
Number function
1
-
Number object
1
-
numbers
-
Number object
1
-
parsing from strings
1
-
number type conversions (LiveConnect)
1
O
-
object manipulation statements
-
for...in
1
-
this keyword
1
-
with statement
1
-
object model
1,
2
-
objects
1,
2
-
adding properties
1,
2
-
confirming property type for
1
-
constructor function for
1
-
creating
1,
2
-
creating new types
1
-
deleting
1,
2
-
determining type of
1
-
establishing default
1
-
getting list of properties for
1
-
indexing properties
1
-
inheritance
1
-
initializers for
1
-
iterating properties
1
-
JavaScript in Java
1
-
literals
1
-
LiveConnect
1
-
model of
1,
2
-
overview
1
-
predefined
1
-
single instances of
1
-
operators
-
arithmetic
1
-
assignment
1
-
bitwise
1
-
comparison
1
-
defined
1
-
instanceof
1
-
logical
1
-
order of
1
-
overview
1
-
precedence
1
-
special
1
-
string
1
-
OR (|) bitwise operator
1
-
OR (||) logical operator
1
P
-
packages, Java
1
-
Packages object
1
-
parentheses,non-capturing
1
-
parentheses in regular expressions
1,
2
-
parseFloat function
1
-
parseInt function
1
-
parse method
1
-
pattern matching
-
See regular expressions
1
-
PI property
1
-
predefined objects
1
-
primitive value, glossary entry
1
-
properties
-
adding
1,
2
-
class-based languages and
1
-
confirming object type for
1
-
creating
1
-
getting list of for an object
1
-
indexing
1
-
inheritance
1,
2
-
initializing with constructors
1
-
iterating for an object
1
-
overview
1
-
static
1
-
prototype-based languages, defined
1
-
prototypes
1
Q
-
quotation marks
-
for string literals
1
R
-
readonly constant,global constant
1
-
RegExp object
1,
2
-
regular expressions
1,
2
-
arrays and
1
-
creating
1
-
defined
1
-
examples of
1
-
global search with
1
-
ignoring case
1
-
parentheses in
1,
2
-
remembering substrings
1,
2
-
special characters in
1,
2
-
using
1
-
writing patterns
1
-
replace method
1
-
return statement
1
-
runtime errors
1
S
-
search method
1
-
server-side JavaScript
1
-
glossary entry
1
-
setDay method
1
-
setters
1
-
setTime method
1
-
short-circuit evaluation
1
-
sign-propagating right shift (>>) operator
1,
2
-
special characters in regular expressions
1,
2
-
special operators
1
-
split method
1
-
statements
-
break
1
-
conditional
1,
2
-
continue
1
-
do...while
1
-
exception handling
1,
2
-
for
1
-
for...in
1
-
if...else
1
-
label
1
-
loop
1,
2
-
object manipulation
1,
2
-
overview
1,
2
-
switch
1
-
while
1
-
static, glossary entry
1
-
String function
1
-
string literals
1
-
Unicode in
1
-
String object
-
overview
1
-
regular expressions and
1
-
strings
-
changing order using regular expressions
1
-
concatenating
1
-
operators for
1
-
regular expressions and
1
-
searching for patterns
1
-
type conversions (LiveConnect)
1
-
subclasses
1
-
sun package
1
-
switch statement
1
T
-
test method
1
-
this keyword
1,
2
-
described
1
-
for object references
1
-
throwing exceptions
1
-
throw statement
1
-
toString method
1
-
try...catch statement
1
-
typeof operator
1
U
-
unary negation (-) operator
1
-
undefined property
1
-
undefined value
1
-
conversions (LiveConnect)
1
-
unescape function
1
-
Unicode
1,
2
-
described
1
-
escape sequences
1
-
string literals and
1
-
Unicode Consortium
1
-
values for special characters
1
-
uppercase
1
-
URLs
-
conventions used
1
-
glossary entry
1
V
-
variables
-
declaring
1
-
in JavaScript
1
-
naming
1
-
scope of
1
-
undefined
1
-
var statement
1
-
versions of JavaScript
1
-
void operator
1
W
-
while loops
-
continuation of
1
-
termination of
1
-
while statement
1
-
with statement
-
described
1
-
wrappers
-
for Java objects
1
-
for JavaScript objects
1
-
WWW, glossary entry
1
X
-
XOR (^) operator
1
Z
-
zero-fill right shift (>>>) operator
1,
2
Previous
Contents
Copyright © 2000 Netscape Communications Corp. All rights reserved.
Last Updated September 28, 2000
|
|
|