This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git
The following commit(s) were added to refs/heads/master by this push:
new 9e73688 edited basics
9e73688 is described below
commit 9e736887f6e4e2c22685215e7f441b964e4ef506
Author: Harbs <[email protected]>
AuthorDate: Thu Dec 16 17:38:07 2021 +0200
edited basics
---
features/as3/language-basics.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/features/as3/language-basics.md b/features/as3/language-basics.md
index 68f076f..ee7d3b9 100644
--- a/features/as3/language-basics.md
+++ b/features/as3/language-basics.md
@@ -24,6 +24,9 @@ permalink: /features/as3/language-basics
Language basics in ActionScript 3
+ActionScript is a superset of the ecma 4 spec. That gives it the same roots as
Javascript and code will look very similar. The biggest difference is the
optionally typed quality of ActionScript, and classes. Ecma 6 added classes to
Javascript as well, but Javascript classes are less structured that
ActionScript classes.
+
+Because ActionScript was forked from the ecma spec at version 4, there are
features that Javascript has which are missing from ActionScript and vice
versa. Below is an overview of the main ActionScript features.
## Scope
There are four levels of access scope in ActionScript: