JavaScript_1.5_核心指引

  • 版本网址缩略名: JavaScript_1.5_核心指引
  • 版本标题: JavaScript 1.5 核心指引
  • 版本 id: 282281
  • 创建于:
  • 创建者: Momoass
  • 是否是当前版本?
  • 评论

修订内容

关于本指引

JavaScript 1.5 之新特性
JavaScript 后续版本新特性
你应有何所知
JavaScript 版本
JavaScript 资讯何寻
文献协定

JavaScript 概览

何为 JavaScript?
JavaScript 与 Java
JavaScript 与 ECMA 脚本规范
JavaScript 与ECMA 版脚本之关联
JavaScript 文档对比 ECMA 脚本规范
JavaScript 与 ECMA 脚本术语

Core Language Features

Values
Data Type Conversion
Variables
Declaring Variables
Evaluating Variables
Variable Scope
Global Variables
Constants
Literals
Array Literals
Boolean Literals
Floating-Point Literals
Integers
Object Literals
String Literals
Unicode
Unicode Compatibility with ASCII and ISO
Unicode Escape Sequences
Unicode characters in JavaScript files
Displaying Characters with Unicode

Expressions and Operators

Expressions
Operators
Assignment Operators
Comparison Operators
Arithmetic Operators
Bitwise Operators
Logical Operators
String Operators
Special Operators
Operator Precedence

Regular Expressions

Creating a Regular Expression
Writing a Regular Expression Pattern
Using Simple Patterns
Using Special Characters
Using Parentheses
Working with Regular Expressions
Using Parenthesized Substring Matches
Executing a Global Search, Ignoring Case, and Considering Multiline Input
Examples

Statements

Block Statement
Conditional Statements
if...else Statement
switch Statement
Loop Statements
for Statement
do...while Statement
while Statement
label Statement
break Statement
continue Statement
Object Manipulation Statements
for...in Statement
with Statement
Comments
Exception Handling Statements
throw Statement
try...catch Statement

Functions

Defining Functions
Calling Functions
Using the arguments Object
Predefined Functions
eval Function
isFinite Function
isNaN Function
parseInt and parseFloat Functions
Number and String Functions
escape and unescape Functions

Working with Objects

Objects and Properties
Creating New Objects
Using Object Initializers
Using a Constructor Function
Indexing Object Properties
Defining Properties for an Object Type
Defining Methods
Using this for Object References
Defining Getters and Setters
Deleting Properties
Predefined Core Objects
Array Object
Boolean Object
Date Object
Function Object
Math Object
Number Object
RegExp Object
String Object

Details of the Object Model

Class-Based vs. Prototype-Based Languages
Defining a Class
Subclasses and Inheritance
Adding and Removing Properties
Summary of Differences
The Employee Example
Creating the Hierarchy
Object Properties
Inheriting Properties
Adding Properties
More Flexible Constructors
Property Inheritance Revisited
Local versus Inherited Values
Determining Instance Relationships
Global Information in Constructors
No Multiple Inheritance

LiveConnect Overview

Working with Wrappers
JavaScript to Java Communication
The Packages Object
Working with Java Arrays
Package and Class References
Arguments of Type char
Handling Java Exceptions in JavaScript
Java to JavaScript Communication
Using the LiveConnect Classes
Data Type Conversions
JavaScript to Java Conversions
Java to JavaScript Conversions

Originally At: http://devedge-temp.mozilla.org/library/manuals/2000/javascript/1.5/guide/

{{template.Next("Core_JavaScript_1.5_Guide:About")}}

{{ wiki.languages( { "fr": "fr/Guide_JavaScript_1.5", "ja": "ja/Core_JavaScript_1.5_Guide", "pl": "pl/Przewodnik_po_j\u0119zyku_JavaScript_1.5", "zh-tw": "zh_tw/Core_JavaScript_1.5_Guide" } ) }}

修订版来源

<p>
</p>
<h4 name=".E5.85.B3.E4.BA.8E.E6.9C.AC.E6.8C.87.E5.BC.95"> <a href="cn/Core_JavaScript_1.5_Guide/%e5%85%b3%e4%ba%8e">关于本指引</a> </h4>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/%e5%85%b3%e4%ba%8e#JavaScript_1.5_.E4.B9.8B.E6.96.B0.E7.89.B9.E6.80.A7">JavaScript 1.5 之新特性</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/%e5%85%b3%e4%ba%8e#JavaScript_.E5.90.8E.E7.BB.AD.E7.89.88.E6.9C.AC.E6.96.B0.E7.89.B9.E6.80.A7">JavaScript 后续版本新特性</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/%e5%85%b3%e4%ba%8e#.E4.BD.A0.E5.BA.94.E6.9C.89.E4.BD.95.E6.89.80.E7.9F.A5">你应有何所知</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/%e5%85%b3%e4%ba%8e#JavaScript_.E7.89.88.E6.9C.AC">JavaScript 版本</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/%e5%85%b3%e4%ba%8e#JavaScript_.E8.B5.84.E8.AE.AF.E4.BD.95.E5.AF.BB">JavaScript 资讯何寻</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/%e5%85%b3%e4%ba%8e#.E6.96.87.E7.8C.AE.E5.8D.8F.E5.AE.9A">文献协定</a>
</dd></dl>
<h4 name="JavaScript_.E6.A6.82.E8.A7.88"> <a href="cn/Core_JavaScript_1.5_Guide/JavaScript_%e6%a6%82%e8%a7%88">JavaScript 概览</a> </h4>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/JavaScript_%e6%a6%82%e8%a7%88#.E4.BD.95.E4.B8.BA_JavaScript.3F">何为 JavaScript?</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/JavaScript_%e6%a6%82%e8%a7%88#JavaScript_.E4.B8.8E_Java">JavaScript 与 Java</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/JavaScript_%e6%a6%82%e8%a7%88#JavaScript_.E4.B8.8E_ECMA_.E8.84.9A.E6.9C.AC.E8.A7.84.E8.8C.83">JavaScript 与 ECMA 脚本规范</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/JavaScript_%e6%a6%82%e8%a7%88#JavaScript_.E4.B8.8E_ECMA_.E7.89.88.E8.84.9A.E6.9C.AC.E4.B9.8B.E5.85.B3.E8.81.94">JavaScript 与ECMA 版脚本之关联</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/JavaScript_%e6%a6%82%e8%a7%88#JavaScript_.E6.96.87.E6.A1.A3.E5.AF.B9.E6.AF.94_ECMA_.E8.84.9A.E6.9C.AC.E8.A7.84.E8.8C.83">JavaScript 文档对比 ECMA 脚本规范</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/JavaScript_%e6%a6%82%e8%a7%88#JavaScript_.E4.B8.8E_ECMA_.E8.84.9A.E6.9C.AC.E6.9C.AF.E8.AF.AD">JavaScript 与 ECMA 脚本术语</a>
</dd></dl>
</dd></dl>
<h4 name="Core_Language_Features"> <a href="cn/Core_JavaScript_1.5_Guide/Core_Language_Features">Core Language Features</a> </h4>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Values">Values</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Values#Data_Type_Conversion">Data Type Conversion</a>
</dd></dl>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Variables">Variables</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Variables#Declaring_Variables">Declaring Variables</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Variables#Evaluating_Variables">Evaluating Variables</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Variables#Variable_Scope">Variable Scope</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Variables#Global_Variables">Global Variables</a>
</dd></dl>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Constants">Constants</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Literals">Literals</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Literals#Array_Literals">Array Literals</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Literals#Boolean_Literals">Boolean Literals</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Literals#Floating-Point_Literals">Floating-Point Literals</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Literals#Integers">Integers</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Literals#Object_Literals">Object Literals</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Literals#String_Literals">String Literals</a>
</dd></dl>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Unicode">Unicode</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Unicode#Unicode_Compatibility_with_ASCII_and_ISO">Unicode Compatibility with ASCII and ISO</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Unicode#Unicode_Escape_Sequences">Unicode Escape Sequences</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Unicode#Unicode_characters_in_JavaScript_files">Unicode characters in JavaScript files</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Unicode#Displaying_Characters_with_Unicode">Displaying Characters with Unicode</a>
</dd></dl>
</dd></dl>
<h4 name="Expressions_and_Operators"> <a href="cn/Core_JavaScript_1.5_Guide/Expressions_and_Operators">Expressions and Operators</a> </h4>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Expressions">Expressions</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Operators">Operators</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Operators/Assignment_Operators">Assignment Operators</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Operators/Comparison_Operators">Comparison Operators</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Operators/Arithmetic_Operators">Arithmetic Operators</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Operators/Bitwise_Operators">Bitwise Operators</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Operators/Logical_Operators">Logical Operators</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Operators/String_Operators">String Operators</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Operators/Special_Operators">Special Operators</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Operators#Operator_Precedence">Operator Precedence</a>
</dd></dl>
</dd></dl>
<h4 name="Regular_Expressions"> <a href="cn/Core_JavaScript_1.5_Guide/Regular_Expressions">Regular Expressions</a> </h4>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Creating_a_Regular_Expression">Creating a Regular Expression</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Writing_a_Regular_Expression_Pattern">Writing a Regular Expression Pattern</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Writing_a_Regular_Expression_Pattern#Using_Simple_Patterns">Using Simple Patterns</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Writing_a_Regular_Expression_Pattern#Using_Special_Characters">Using Special Characters</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Writing_a_Regular_Expression_Pattern#Using_Parentheses">Using Parentheses</a>
</dd></dl>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Working_with_Regular_Expressions">Working with Regular Expressions</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Working_with_Regular_Expressions/Using_Parenthesized_Substring_Matches">Using Parenthesized Substring Matches</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Working_with_Regular_Expressions/Executing_a_Global_Search%2c_Ignoring_Case%2c_and_Considering_Multiline_Input">Executing a Global Search, Ignoring Case, and Considering Multiline Input</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Working_with_Regular_Expressions/Examples_of_Regular_Expressions">Examples</a>
</dd></dl>
</dd></dl>
<h4 name="Statements"> <a href="cn/Core_JavaScript_1.5_Guide/Statements">Statements</a> </h4>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Block_Statement">Block Statement</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Conditional_Statements">Conditional Statements</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Conditional_Statements#if...else_Statement">if...else Statement</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Conditional_Statements#switch_Statement">switch Statement</a>
</dd></dl>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Loop_Statements">Loop Statements</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Loop_Statements/for_Statement">for Statement</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Loop_Statements/do...while_Statement">do...while Statement</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Loop_Statements/while_Statement">while Statement</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Loop_Statements/label_Statement">label Statement</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Loop_Statements/break_Statement">break Statement</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Loop_Statements/continue_Statement">continue Statement</a>
</dd></dl>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Object_Manipulation_Statements">Object Manipulation Statements</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Object_Manipulation_Statements#for...in_Statement">for...in Statement</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Object_Manipulation_Statements#with_Statement">with Statement</a>
</dd></dl>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Comments">Comments</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Exception_Handling_Statements">Exception Handling Statements</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Exception_Handling_Statements/throw_Statement">throw Statement</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Exception_Handling_Statements/try...catch_Statement">try...catch Statement</a>
</dd></dl>
</dd></dl>
<h4 name="Functions"> <a href="cn/Core_JavaScript_1.5_Guide/Functions">Functions</a> </h4>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Defining_Functions">Defining Functions</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Calling_Functions">Calling Functions</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Using_the_arguments_object">Using the arguments Object</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Predefined_Functions">Predefined Functions</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Predefined_Functions/eval_Function">eval Function</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Predefined_Functions/isFinite_Function">isFinite Function</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Predefined_Functions/isNaN_Function">isNaN Function</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Predefined_Functions/parseInt_and_parseFloat_Functions">parseInt and parseFloat Functions</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Predefined_Functions/Number_and_String_Functions">Number and String Functions</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Predefined_Functions/escape_and_unescape_Functions">escape and unescape Functions</a>
</dd></dl>
</dd></dl>
<h4 name="Working_with_Objects"> <a href="cn/Core_JavaScript_1.5_Guide/Working_with_Objects">Working with Objects</a> </h4>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Objects_and_Properties">Objects and Properties</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Creating_New_Objects">Creating New Objects</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Creating_New_Objects/Using_Object_Initializers">Using Object Initializers</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Creating_New_Objects/Using_a_Constructor_Function">Using a Constructor Function</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Creating_New_Objects/Indexing_Object_Properties">Indexing Object Properties</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Creating_New_Objects/Defining_Properties_for_an_Object_Type">Defining Properties for an Object Type</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Creating_New_Objects/Defining_Methods">Defining Methods</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Creating_New_Objects/Using_this_for_Object_References">Using this for Object References</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Creating_New_Objects/Defining_Getters_and_Setters">Defining Getters and Setters</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Creating_New_Objects/Deleting_Properties">Deleting Properties</a>
</dd></dl>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Predefined_Core_Objects">Predefined Core Objects</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Predefined_Core_Objects/Array_Object">Array Object</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Predefined_Core_Objects/Boolean_Object">Boolean Object</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Predefined_Core_Objects/Date_Object">Date Object</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Predefined_Core_Objects/Function_Object">Function Object</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Predefined_Core_Objects/Math_Object">Math Object</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Predefined_Core_Objects/Number_Object">Number Object</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Predefined_Core_Objects/RegExp_Object">RegExp Object</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Predefined_Core_Objects/String_Object">String Object</a>
</dd></dl>
</dd></dl>
<h4 name="Details_of_the_Object_Model"> <a href="cn/Core_JavaScript_1.5_Guide/Details_of_the_Object_Model">Details of the Object Model</a> </h4>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Class-Based_vs._Prototype-Based_Languages">Class-Based vs. Prototype-Based Languages</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Class-Based_vs._Prototype-Based_Languages#Defining_a_Class">Defining a Class</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Class-Based_vs._Prototype-Based_Languages#Subclasses_and_Inheritance">Subclasses and Inheritance</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Class-Based_vs._Prototype-Based_Languages#Adding_and_Removing_Properties">Adding and Removing Properties</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Class-Based_vs._Prototype-Based_Languages#Summary_of_Differences">Summary of Differences</a>
</dd></dl>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/The_Employee_Example">The Employee Example</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/The_Employee_Example/Creating_the_Hierarchy">Creating the Hierarchy</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/The_Employee_Example/Object_Properties">Object Properties</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/The_Employee_Example/Object_Properties/Inheriting_Properties">Inheriting Properties</a>
</dd></dl>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/The_Employee_Example/Object_Properties/Adding_Properties">Adding Properties</a>
</dd></dl>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/The_Employee_Example/More_Flexible_Constructors">More Flexible Constructors</a>
</dd></dl>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Property_Inheritance_Revisited">Property Inheritance Revisited</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Property_Inheritance_Revisited/Local_versus_Inherited_Values">Local versus Inherited Values</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Property_Inheritance_Revisited/Determining_Instance_Relationships">Determining Instance Relationships</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Property_Inheritance_Revisited/Global_Information_in_Constructors">Global Information in Constructors</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/Property_Inheritance_Revisited/No_Multiple_Inheritance">No Multiple Inheritance</a>
</dd></dl>
</dd></dl>
<h4 name="LiveConnect_Overview"> <a href="cn/Core_JavaScript_1.5_Guide/LiveConnect_Overview">LiveConnect Overview</a> </h4>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/LiveConnect_Overview/Working_with_Wrappers">Working with Wrappers</a>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/LiveConnect_Overview/JavaScript_to_Java_Communication">JavaScript to Java Communication</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/LiveConnect_Overview/JavaScript_to_Java_Communication#The_Packages_Object">The Packages Object</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/LiveConnect_Overview/JavaScript_to_Java_Communication#Working_with_Java_Arrays">Working with Java Arrays</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/LiveConnect_Overview/JavaScript_to_Java_Communication#Package_and_Class_References">Package and Class References</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/LiveConnect_Overview/JavaScript_to_Java_Communication#Arguments_of_Type_char">Arguments of Type char</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/LiveConnect_Overview/JavaScript_to_Java_Communication#Handling_Java_Exceptions_in_JavaScript">Handling Java Exceptions in JavaScript</a>
</dd></dl>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/LiveConnect_Overview/Java_to_JavaScript_Communication">Java to JavaScript Communication</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/LiveConnect_Overview/Java_to_JavaScript_Communication/Using_the_LiveConnect_Classes">Using the LiveConnect Classes</a>
</dd></dl>
</dd></dl>
<dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/LiveConnect_Overview/Data_Type_Conversions">Data Type Conversions</a>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/LiveConnect_Overview/Data_Type_Conversions/JavaScript_to_Java_Conversions">JavaScript to Java Conversions</a>
</dd></dl>
</dd></dl>
<dl><dd><dl><dd> <a href="cn/Core_JavaScript_1.5_Guide/LiveConnect_Overview/Data_Type_Conversions/Java_to_JavaScript_Conversions">Java to JavaScript Conversions</a>
</dd></dl>
</dd></dl>
<p><span class="comment">Originally At: http://devedge-temp.mozilla.org/library/manuals/2000/javascript/1.5/guide/</span>
</p><p>{{template.Next("Core_JavaScript_1.5_Guide:About")}}
</p>{{ wiki.languages( { "fr": "fr/Guide_JavaScript_1.5", "ja": "ja/Core_JavaScript_1.5_Guide", "pl": "pl/Przewodnik_po_j\u0119zyku_JavaScript_1.5", "zh-tw": "zh_tw/Core_JavaScript_1.5_Guide" } ) }}
恢复到这个版本