与 Adobe After Effects 脚本相关的基本 JavaScript 元素
关键字和语句语法
Keyword/Statement |
Description |
---|---|
|
Standard JavaScript; exit the currently executing loop. |
|
JavaScript; cease execution of the current loop iteration. |
|
Label used in a |
|
Label used in a |
|
Standard JavaScript construct. Similar to the while loop, |
|
Literal representing the Boolean false value. |
|
Standard JavaScript loop construct. |
|
Standard JavaScript construct. Provides a way to easily |
|
Used to define a function. |
|
Standard JavaScript conditional constructs. |
|
Standard JavaScript constructor statement. |
|
Assigned to a variable, array element, or object property |
|
Standard JavaScript way of returning a value from a |
|
Standard JavaScript way of evaluating a JavaScript |
|
Standard JavaScript method of indicating the current object. |
|
Literal representing the Boolean true value. |
|
Indicates that the variable, array element, or object |
|
Standard JavaScript syntax used to declare a local variable. |
|
Standard JavaScript construct. Similar to the |
|
Standard JavaScript construct used to specify an object to |
JavaScript运算符
Operators |
Description |
---|---|
|
Create new object instance. |
|
Delete property from an object. |
|
Returns data type. |
|
Returns undefined value. |
|
Object member. |
|
Array element. |
|
Function call. |
|
Pre- or post-increment. |
|
Pre- or post-decrement. |
|
Unary negation or subtraction. |
|
Bitwise NOT. |
|
Logical NOT. |
|
Multiply. |
|
Divide. |
|
Modulo division. |
|
Add. |
|
Bitwise left shift. |
|
Bitwise right shift. |
|
Unsigned bitwise right shift. |
|
Less than. |
|
Less than or equal. |
|
Greater than. |
|
Greater than or equal. |
|
Equal. |
|
Not equal. |
|
Bitwise AND. |
|
Bitwise XOR. |
|
Bitwise OR. |
|
Logical AND. |
|
Logical OR. |
|
Conditional (ternary). |
|
Assignment. |
|
Assignment with add operation. |
|
Assignment with subtract operation. |
|
Assignment with multiply operation. |
|
Assignment with divide operation. |
|
Assignment with modulo division operation. |
|
Assignment with bitwise left shift operation. |
|
Assignment with bitwise right shift operation. |
|
Assignment with unsigned bitwise right shift operation. |
|
Assignment with bitwise AND operation. |
|
Assignment with bitwise XOR operation. |
|
Assignment with bitwise OR operation. |
|
Multiple evaluation. |
运算符优先级
Operators (highest precedence to lowest) |
Associativity |
---|---|
[], (), . |
left to right |
new, delete, – (unary negation), !, type of, void , ++, – |
right to left |
*, /, % |
left to right |
+, – (subtraction) |
left to right |
<<, >>, >>> |
left to right |
<, <=, >, >= |
left to right |
= =, ! = |
left to right |
& |
left to right |
^ |
left to right |
| |
left to right |
&& |
left to right |
|| |
left to right |
?: |
right to left |
==, /=, %=, <<=, >>=, >>>=, &=, ^=, |=, +=, -=, *= |
right to left |
, |
left to right |
本文由 猫斯基 原创发布。
著作权均归用户本人所有。独家文章转载,请联系本站管理员。获得授权后,须注明本文地址! 本文地址:https://www.maosiji.com/ae.html