| ActionScript | JavaScript + Closure annotation | Notes | ||||
---|---|---|---|---|---|---|---|
|
|
|
| ||||
|
|
|
| ||||
as | as | ? | I think we need a utility function | ||||
instanceof | instanceof | instanceof | We need to check the "goog" way of inheritance for correctness of the JS 'instanceof' and see if the Closure annotation method for implementing "Interfaces" covers the functionality of AS 'instanceof'. | ||||
is | is | ? | I think we need a utility function | ||||
:: | :: | ? |
| ||||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="72a05e57-22e1-4d75-9247-c8b332888419"><ac:plain-text-body><![CDATA[ | : | : | [various] | To "strongly" type JS, we use the Google Closure annotations. These are JSDoc block that go with function or variable declarations and give the Closure Compiler hints as to the type of variables, arguments and return values. | ]]></ac:plain-text-body></ac:structured-macro> | ||
typeof | typeof | typeof | Only the "xml" type is not supported on the JS side (nor are the data types that go with it, XML and XMLList) |
|
|
| |