|
Test Available In FalconJx (+/-)? |
ActionScript |
JavaScript + Closure annotation |
Notes |
|---|---|---|---|---|
Global Constants |
|
|
|
|
Infinity |
+ |
Infinity |
Infinity |
|
-Infinity |
+ |
-Infinity |
-Infinity |
|
NaN |
+ |
NaN |
NaN |
|
undefined |
+ |
undefined |
undefined |
|
|
|
|
|
|
Global Functions |
|
|
|
|
Array() |
+ |
Array(...values) |
Array(...values) |
|
Boolean() |
+ |
Boolean(value) |
Boolean(value) |
|
decodeURI() |
+ |
decodeURI(value) |
decodeURI(value) |
|
decodeURIComponent() |
+ |
decodeURIComponent(value) |
decodeURIComponent(value) |
|
encodeURI() |
+ |
encodeURI(value) |
encodeURI(value) |
|
encodeURIComponent() |
+ |
encodeURIComponent(value) |
encodeURIComponent(value) |
|
escape() |
+ |
escape(value) |
escape(value) |
|
int() |
+ |
int(value) |
int(value) |
|
isFinite() |
+ |
isFinite(value) |
isFinite(value) |
|
isNaN() |
+ |
isNaN(value) |
isNaN(value) |
|
isXMLName() |
+ |
isXMLName(value) |
|
|
Number() |
+ |
Number(value) |
Number(value) |
|
Object() |
+ |
Object(value) |
Object(value) |
|
parseFloat() |
+ |
parseFloat(value) |
parseFloat(value) |
|
parseInt() |
+ |
parseInt(value, [radix]) |
parseInt(value, [radix]) |
|
String() |
+ |
String(value) |
String(value) |
|
trace() |
+ |
trace(...values) |
trace(...values) |
|
uint() |
+ |
uint(value) |
uint(value) |
|
unescape() |
+ |
unescape(value) |
unescape(value) |
|
Vector() |
+ |
result = Vector.<type>(valueArray); |
|
|
XML() |
+ |
XML(value) |
|
|
XMLList() |
+ |
XMLList(value) |
|
|
|
|
|
|
|
Classes |
|
|
|
|
ArgumentError |
+ |
ArgumentError |
ArgumentError |
|
arguments |
+ |
arguments |
arguments |
|
Array |
+ |
Array |
Array |
|
Boolean |
+ |
Boolean |
Boolean |
|
Class |
+ |
- |
- |
|
Date |
+ |
Date |
Date |
|
DefinitionError |
+ |
DefinitionError |
DefinitionError |
|
Error |
+ |
Error |
Error |
|
EvalError |
+ |
EvalError |
EvalError |
|
Function |
+ |
Function |
Function |
|
int |
+ |
int |
int |
|
JSON |
+ |
JSON |
JSON |
|
Math |
+ |
Math |
Math |
|
Namespace |
+ |
Namespace |
Namespace |
|
Number |
+ |
Number |
Number |
|
Object |
+ |
Object |
Object |
|
QName |
+ |
QName |
|
|
RangeError |
+ |
RangeError |
RangeError |
|
ReferenceError |
+ |
ReferenceError |
ReferenceError |
|
RegExp |
+ |
RegExp |
RegExp |
|
SecurityError |
+ |
SecurityError |
SecurityError |
|
String |
+ |
String |
String |
|
SyntaxError |
+ |
SyntaxError |
SyntaxError |
|
TypeError |
+ |
TypeError |
TypeError |
|
uint |
+ |
uint |
uint |
|
URIError |
+ |
URIError |
URIError |
|
Vector |
+ |
Vector |
|
|
VerifyError |
+ |
VerifyError |
VerifyError |
|
XML |
+ |
XML |
|
|
XMLList |
+ |
XMLList |
|
|
|
|
|
|
|
Arithmetic |
|
|
|
|
+ |
+ |
+ |
+ |
|
-- |
+ |
-- |
-- |
|
/ |
+ |
/ |
/ |
|
++ |
+ |
++ |
++ |
|
% |
+ |
% |
% |
|
* |
+ |
* |
* |
|
- |
+ |
- |
- |
|
|
|
|
|
|
Arithmetic compound assignment |
|
|
|
|
+= |
+ |
+= |
+= |
|
/= |
+ |
/= |
/= |
|
%= |
+ |
%= |
%= |
|
*= |
+ |
*= |
*= |
|
-= |
+ |
-= |
-= |
|
|
|
|
|
|
Assignment |
|
|
|
|
= |
+ |
= |
= |
|
|
|
|
|
|
Bitwise |
|
|
|
|
& |
+ |
& |
& |
|
<< |
+ |
<< |
<< |
|
~ |
+ |
~ |
~ |
|
| |
+ |
| |
| |
|
>> |
+ |
>> |
>> |
|
>>> |
+ |
>>> |
>>> |
|
^ |
+ |
^ |
^ |
|
|
|
|
|
|
Bitwise compound assignment |
|
|
|
|
&= |
+ |
&= |
&= |
|
<<= |
+ |
<<= |
<<= |
|
|= |
+ |
|= |
|= |
|
>>= |
+ |
>>= |
>>= |
|
>>>= |
+ |
>>>= |
>>>= |
|
^= |
+ |
^= |
^= |
|
|
|
|
|
|
Comment |
|
|
|
|
/**/ |
+ |
/**/ |
/**/ |
|
// |
+ |
// |
// |
|
|
|
|
|
|
Comparison |
|
|
|
|
== |
+ |
== |
== |
|
> |
+ |
> |
> |
|
>= |
+ |
>= |
>= |
|
!= |
+ |
!= |
!= |
|
< |
+ |
< |
< |
|
<= |
+ |
<= |
<= |
|
=== |
+ |
=== |
=== |
|
!== |
+ |
!== |
!== |
|
|
|
|
|
|
Logical |
|
|
|
|
&& |
+ |
&& |
&& |
|
&&= |
+ |
x &&= y |
|
|
! |
+ |
! |
! |
|
|| |
+ |
|| |
|| |
|
||= |
+ |
x ||= y |
|
|
|
|
|
|
|
Other |
|
|
|
|
[] |
+ |
[] |
[] |
|
as |
+ |
as |
|
|
, |
+ |
, |
, |
|
?: |
+ |
(value) ? true : false; |
(value) ? true : false; |
|
delete |
+ |
delete |
delete |
|
. |
+ |
. |
. |
|
in |
+ |
in |
in |
|
instanceof |
+ |
instanceof |
instanceof |
|
is |
+ |
is |
? |
|
:: |
+ |
:: |
? |
|
new |
+ |
new |
new |
|
{} |
+ |
{} |
{} |
|
() |
+ |
() |
() |
|
/ |
+ |
/ |
/ |
|
: |
+ |
: |
|
|
typeof |
+ |
typeof |
typeof |
|
void |
+ |
void |
void |
|
|
|
|
|
|
String |
|
|
|
|
+ |
+ |
+ |
+ |
|
+= |
+ |
+= |
+= |
|
" |
+ |
" |
" |
|
|
|
|
|
|
XML |
|
|
|
|
@ |
- |
@ |
|
|
{} |
- |
{} |
|
|
[] |
- |
[] |
|
|
+ |
- |
+ |
|
|
+= |
- |
+= |
|
|
delete |
- |
delete |
|
|
.. |
- |
.. |
|
|
. |
- |
. |
|
|
() |
- |
() |
|
|
<> |
- |
<> |
|
|
|
|
|
|
|
Statements |
|
|
|
|
break |
+ |
break |
break |
|
case |
+ |
case |
case |
|
continue |
+ |
continue |
continue |
|
default |
+ |
default |
default |
|
do...while |
+ |
do...while |
do...while |
|
else |
+ |
else |
else |
|
for |
+ |
for |
for |
|
for...in |
+ |
for...in |
for...in |
|
for each...in |
+ |
for each...in |
|
|
if |
+ |
if |
if |
|
label |
+ |
label |
label |
|
return |
+ |
return |
return |
|
super |
+ |
super([arg1, ..., argN]); |
|
|
switch |
+ |
switch |
switch |
|
throw |
+ |
throw |
throw |
|
try...catch...finally |
+ |
try...catch...finally |
try...catch...finally |
|
while |
+ |
while |
while |
|
with |
+ |
with |
with |
|
|
|
|
|
|
Attribute Keywords |
|
|
|
|
dynamic |
+ |
dynamic |
|
|
final |
+ |
final |
|
|
internal |
+ |
internal |
|
|
native |
|
[not user accessible] |
|
|
override |
+ |
override |
|
|
private |
+ |
private |
|
|
protected |
+ |
protected |
|
|
public |
+ |
public |
|
|
static |
+ |
static |
|
|
|
|
|
|
|
Definition keywords |
|
|
|
|
... (rest) parameter |
+ |
...rest |
|
|
class |
+ |
class |
|
|
const |
+ |
const |
|
|
extends |
+ |
extends |
|
|
function |
+ |
function |
function |
|
get |
+ |
get |
|
|
implements |
+ |
implements |
|
|
interface |
+ |
interface |
|
|
namespace |
+ |
namespace |
|
|
package |
+ |
package |
|
|
set |
+ |
set |
|
|
var |
+ |
var |
var |
|
|
|
|
|
|
Directives |
|
|
|
|
default xml namespace |
- |
default xml namespace |
|
|
import |
+ |
import |
|
|
include |
- |
include |
|
|
use namespace |
- |
use namespace |
|
|
|
|
|
|
|
Namespaces |
|
|
|
|
AS3 |
- |
? |
? |
|
flash_proxy |
- |
? |
? |
|
object_proxy |
- |
? |
? |
|
|
|
|
|
|
Primary expression keywords |
|
|
|
|
false |
+ |
false |
false |
|
null |
+ |
null |
null |
|
this |
+ |
this |
|
|
true |
+ |
true |
true |
|
|
|
|
|
|