?

Языки.JavaScript_от_Microsoft
Коллекция :

JScript vs.100

Getting Started with Jscript

What Is JScript 10.0?

What's New in JScript 10.0?

Introduction to JScript 10.0 for JScript Programmers

How to: Compile JScript Code from the Command Line.

The JScript Version of Hello World!.

JScript Variables and Constants

JScript Functions.

JScript Data Types.

.NET Framework Class Library.

import Statement

autoref.

Arrays Overview.

Class-based Objects

JScript Modifiers.

The JScript Version of Hello World!

Upgrading Applications Created in Previous Versions of JScript

Running a JScript Application on a Previous Version of the Common Language Runtime

Additional Resources for JScript Programmers

JScript Native

Provides a forum for questions about JScript errors and issues, and future plans for the language.

JScript for the .NET Framework

Provides a forum for questions about the JScript language, the ECMAScript standard, the managed JScript compiler implementation, and future plans.

Client Side Web Development

Provides a forum for questions about client-side programming in ASP.NET, including JScript, CSS, and DHTML.

Technical Support Options for Visual Studio

Provides Web pages and telephone numbers for Microsoft Product Support Services.

Microsoft Discussion Groups

Provides a way to communicate with experts from around the world.

Microsoft ASP.NET

Provides articles, demonstrations, tool previews, and other information for Web development in JScript.

Microsoft Windows Script

Provides articles, samples, and other information of interest to JScript 5.8 developers.

Writing, Compiling, and Debugging JScript Code

How to: Compile JScript Code from the Command Line

Writing JScript Code with Visual Studio

Conditional Compilation

Conditional Compilation Directives

Conditional Compilation Statements

Conditional Compilation Variables

Detecting Browser Capabilities

Copying, Passing, and Comparing Data

How JScript Overloads Methods

How to: Handle Events in JScript

Date and Time Calculations

Debugging JScript with Visual Studio

Debugging JScript with the Common Language Runtime Debugger

Troubleshooting Your Scripts

Displaying Information with JScript

Displaying from ASP.NET

Displaying from a Command-Line Program

Displaying Information in the Browser

Using Message Boxes

Introduction to Regular Expressions

Uses for Regular Expressions

Creating a Regular Expression

Regular Expression Programming

compile Method (Visual Studio - JScript)

test Method

search Method

Regular Expression Syntax

Lists of Matching Characters

Quantifiers in JScript

Anchors

Alternation and Subexpressions

Backreferences in JScript

JScript Reference

Feature Information

Microsoft JScript Features - ECMA (Visual Studio - JScript)

Microsoft JScript Features - Non-ECMA (Visual Studio - JScript)

JScript Version Information

JScript Language Tour

JScript Arrays

Arrays Overview
Array Declaration
Array Use
Arrays of Arrays
Multidimensional Arrays (Visual Studio - JScript)

JScript Assignments and Equality

JScript Comments

JScript Expressions

JScript Identifiers

JScript Statements

JScript Data Types

Data in JScript
Array Data
Boolean Data
Numeric Data
Object Data
String Data
Data Type Summary
User-Defined Data Types
Typed Arrays
Type Conversion

JScript Variables and Constants

Types of JScript Variables and Constants
Declaring JScript Variables and Constants
Scope of Variables and Constants
Undefined Values

JScript Objects

Intrinsic Objects

см ♦Intrinsic Objects

JScript Array Object
JScript Date Object
JScript Math Object

см ♦Math Object

см ♦Math Object Properties and Methods

JScript Number Object
JScript Object Object
JScript String Object
Class-based Objects
Creating Your Own Classes
Advanced Class Creation
Prototype-based Objects
Creating Your Own Objects with Constructor Functions
Advanced Object Creation (Visual Studio - JScript)

JScript Modifiers

JScript Operators

Operator Summary
Operator Precedence
Coercion By Bitwise Operators

JScript Functions

Type Annotation
User-Defined JScript Functions
Recursion

Coercion in JScript

JScript Conditional Structures

Conditional Statements
Control Structures
Conditional Statement Use
Conditional Operator
Loops in JScript
for Loops
for...in Loops
while Loops
break and continue Statements

JScript Reserved Words (Visual Studio - JScript)

Security Considerations for JScript

Language Reference

Data Types (Visual Studio - JScript)

boolean Data Type (Visual Studio - JScript)
byte Data Type (Visual Studio - JScript)
char Data Type (Visual Studio - JScript)
decimal Data Type (Visual Studio - JScript)
double Data Type (Visual Studio - JScript)
float Data Type
int Data Type
long Data Type (Visual Studio - JScript)
Number Data Type
sbyte Data Type (Visual Studio - JScript)
short Data Type (Visual Studio - JScript)
String Data Type (Visual Studio - JScript)
uint Data Type
ulong Data Type (Visual Studio - JScript)
ushort Data Type (Visual Studio - JScript)

Directives

@debug Directive
@position Directive

Errors

JS1233: A constructor function may not have a return type
JS1245: A non-static member cannot be accessed with the class name
JS1243: A non-static member is not accessible from a static scope
JS1259: A referenced assembly depends on another assembly that is not referenced or could not be found
JS1221: A variable argument list must be of an array type
JS5040: Assignment to read-only field or property
JS5003: Cannot assign to a function result
JS5000: Cannot assign to 'this'
JS1171: Cannot change visibility specification of a base method
JS1120: Circular definition
JS1109: Class definition not allowed in this context
JS1261: Converting a string to a number or boolean is slow and may fail at runtime
JS1230: Enum declaration not allowed in this context
JS1220: Expando methods cannot override base class methods
JS1008: Expected '{'
JS1191: Expected ','. Write 'identifier : Type' rather than 'Type identifier' to declare a typed parameter
JS1010: Expected identifier
JS1028: Expected identifier or string
JS1107: Expecting more source characters
JS5023: Function does not have a valid prototype object
JS1108: Incompatible visibility modifier
JS1014: Invalid character
JS1214: It is not possible to construct an instance of an abstract class
JS1188: It is not valid to call a base class constructor from this location
JS1172: Method hides abstract method in a base class
JS1183: More than one method or property matches this argument list
JS1151: Object does not have such a member
JS1124: Only a constructor function can have the same name as the class it appears in
JS1234: Only type and package definitions are allowed inside a library
JS0007: Out of memory
JS0028: Out of stack space
JS1232: Package declaration not allowed in this context
JS1002: Syntax error
JS1142: The get and set methods of this property do not match each other
JS1255: The plus operator is a slow way to concatenate strings
JS5041: The property can only be assigned to
JS5025: The URI to be decoded is not a valid encoding
JS5009: Undefined identifier
JS1146: Unknown custom attribute class or constructor
JS1114: Unknown position directive
JS1016: Unterminated comment
JS1015: Unterminated string constant
JS1135: Variable has not been declared

Functions (Visual Studio - JScript)

GetObject Function (JScript 10.0)
ScriptEngine Function (JScript 10.0)
ScriptEngineBuildVersion Function (JScript 10.0)
ScriptEngineMajorVersion Function (JScript 10.0)
ScriptEngineMinorVersion Function (JScript 10.0)

Literals

false Literal
null Literal
true Literal

Methods

Methods (A-E)
abs Method
acos Method
anchor Method
apply Method
asin Method
atan Method
atan2 Method
atEnd Method
big Method
blink Method
bold Method
call Method
ceil Method
charAt Method
charCodeAt Method
compile Method (Visual Studio - JScript)
concat Method (Array)
concat Method (String)
cos Method
decodeURI Method
decodeURIComponent Method
dimensions Method
encodeURI Method
encodeURIComponent Method
escape Method
eval Method (Visual Studio - JScript)
exec Method
exp Method
Methods (F-I)
fixed Method
floor Method
fontcolor Method
fontsize Method
fromCharCode Method
getDate Method
getDay Method
getFullYear Method
getHours Method
getItem Method
getMilliseconds Method
getMinutes Method
getMonth Method
getSeconds Method
getTime Method
getTimezoneOffset Method
getUTCDate Method
getUTCDay Method
getUTCFullYear Method
getUTCHours Method
getUTCMilliseconds Method
getUTCMinutes Method
getUTCMonth Method
getUTCSeconds Method
getVarDate Method
getYear Method
hasOwnProperty Method
indexOf Method
isFinite Method
isNaN Method
isPrototypeOf Method
italics Method
item Method (Visual Studio - JScript)
Methods (J-R)
join Method
lastIndexOf Method
lbound Method
link Method
localeCompare Method
log Method
match Method
max Method
min Method
moveFirst Method
moveNext Method
parse Method
parseFloat Method
parseInt Method
pop Method
pow Method
push Method
random Method
replace Method
reverse Method
round Method
Methods (S)
search Method
setDate Method
setFullYear Method
setHours Method
setMilliseconds Method
setMinutes Method
setMonth Method
setSeconds Method
setTime Method
setUTCDate Method
setUTCFullYear Method
setUTCHours Method
setUTCMilliseconds Method
setUTCMinutes Method
setUTCMonth Method
setUTCSeconds Method
setYear Method
shift Method
sin Method
slice Method (Array)
slice Method (String)
small Method
sort Method
splice Method
split Method
sqrt Method
strike Method
sub Method
substr Method
substring Method
sup Method
Methods (T-Z)
tan Method
test Method
toArray Method
toDateString Method
toExponential Method
toFixed Method
toGMTString Method
toLocaleDateString Method
toLocaleLowerCase Method
toLocaleString Method
toLocaleTimeString Method
toLocaleUpperCase Method
toLowerCase Method
toPrecision Method
toString Method
toTimeString Method
toUpperCase Method
toUTCString Method
ubound Method
unescape Method
unshift Method
UTC Method
valueOf Method

Modifiers

abstract Modifier
expando Modifier
final Modifier
hide Modifier
internal Modifier
override Modifier
private Modifier
protected Modifier
public Modifier
static Modifier

Objects (Visual Studio - JScript)

ActiveXObject Object
arguments Object
arguments Object Properties
Array Object
Array Object Properties and Methods
Boolean Object
Boolean Object Properties and Methods
Date Object
Date Object Properties and Methods
Enumerator Object
Enumerator Object Methods
Error Object
Error Object Properties and Methods
Function Object
Function Object Properties and Methods
Global Object
Global Object Properties and Methods
Math Object
Math Object Properties and Methods
Number Object
Number Object Properties and Methods
Object Object
Object Object Properties and Methods
RegExp Object
RegExp Object Properties
Regular Expression Object
Regular Expression Object Properties and Methods
String Object
String Object Properties and Methods
VBArray Object
VBArray Object Methods

Operators (Visual Studio - JScript)

Addition Assignment Operator (+=)
Addition Operator (+)
Assignment Operator (=)
Bitwise AND Assignment Operator (&=)
Bitwise AND Operator (&)
Bitwise Left Shift Operator (˂˂)
Bitwise NOT Operator (~)
Bitwise OR Assignment Operator (|=)
Bitwise OR Operator (|)
Bitwise Right Shift Operator (˃˃)
Bitwise XOR Assignment Operator (^=)
Bitwise XOR Operator (^)
Comma Operator (,)
Comparison Operators
Conditional (Ternary) Operator (?:)
delete Operator
Division Assignment Operator (/=)
Division Operator (/)
in Operator
Increment (++) and Decrement (--) Operators
instanceof Operator
Left Shift Assignment Operator (˂˂=)
Logical AND Operator (&&)
Logical NOT Operator (!)
Logical OR Operator (||)
Modulus Assignment Operator (%=)
Modulus Operator (%)
Multiplication Assignment Operator (*=)
Multiplication Operator (*)
new Operator
Reference Operator (&)
Right Shift Assignment Operator (˃˃=)
Subtraction Assignment Operator (-=)
Subtraction Operator (-)
typeof Operator
Unsigned Right Shift Assignment Operator (˃˃˃=)
Unsigned Right Shift Operator (˃˃˃)
void Operator

Properties (Visual Studio - JScript)

0...n Properties
$1...$9 Properties
arguments Property
callee Property
caller Property
constructor Property
description Property
E Property
global Property
ignoreCase Property
index Property
Infinity Property
input Property ($_)
lastIndex Property
lastMatch Property ({text}amp;)
lastParen Property ()
leftContext Property (♦)
length Property (arguments)
length Property (Array)
length Property (Function)
length Property (String)
LN10 Property
LN2 Property
LOG10E Property
LOG2E Property
MAX_VALUE Property
message Property (Visual Studio - JScript)
MIN_VALUE Property
multiline Property
name Property
NaN Property
NaN Property (Global)
NEGATIVE_INFINITY Property
number Property
PI Property
POSITIVE_INFINITY Property
propertyIsEnumerable Property
prototype Property
{text})"˃rightContext Property ()
source Property
SQRT1_2 Property
SQRT2 Property
undefined Property

Statements

break Statement
class Statement
@cc_on Statement
Comment Statements
const Statement
continue Statement
debugger Statement
do...while Statement
enum Statement
for Statement
for...in Statement
function Statement
function get Statement
function set Statement
@if...@elif...@else...@end Statement
if...else Statement
import Statement
interface Statement
Labeled Statement
package Statement
print Statement
return Statement
@set Statement
static Statement
super Statement
switch Statement
this Statement
throw Statement
try...catch...finally Statement
var Statement
while Statement
with Statement

JScript Compiler Options

JScript Compiler Options Listed Alphabetically

JScript Compiler Options Listed by Category

Building from the Command Line

@ (Specify Response File)

/autoref

/codepage

/debug

/define

/fast

/help, /?

/lcid

/lib

/linkresource

/nologo

/nostdlib

/out

/platform (Visual Studio - JScript)

/print

/reference

/resource

/target

/target:exe

/target:library

/target:winexe

/utf8output

/versionsafe

/warn

/warnaserror

/win32res

JavaScript vs.94

Справочник по языку JavaScript

Основы JavaScript

Написание кода JavaScript

Переменные (JavaScript)

Типы данных (JavaScript)

Операторы (JavaScript)

Приоритет операторов (JavaScript)

Управление выполнением программы (JavaScript)

Функции (JavaScript)

Объекты и массивы (JavaScript)

Встроенные объекты (JavaScript)

Создание объектов (JavaScript)

Вычисление даты и времени (JavaScript)

Строки даты и времени (JavaScript)

Отображение текста на веб-странице (JavaScript)

JScript vs.71

Getting Started

Writing, Compiling, and Debugging Code

Displaying Information

Introduction to Regular Expressions

Reference