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 b763b0e added info about for each
b763b0e is described below
commit b763b0e1f5c8ffc4e32c693ff81a2063c55531dd
Author: Harbs <[email protected]>
AuthorDate: Thu Jan 6 14:19:03 2022 +0200
added info about for each
---
welcome/why-royale.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/welcome/why-royale.md b/welcome/why-royale.md
index 10e4582..f6c699b 100644
--- a/welcome/why-royale.md
+++ b/welcome/why-royale.md
@@ -42,6 +42,7 @@ Javascript is great, but it has a lot of weird parts.
ActionScript and Royale fi
- Inspectable types at runtime. Do you need to check for classes and
interfaces at runtime? With Royale you can!
- Runtime type casting. Do you want your code to fail early if an unexpected
type is used? With Royale you can.
- No more Number problems. Royale has true ints and uints. By declaring your
types, you can be sure that your variables will not be converted to floating
point numbers at runtime.
+- Improved loops. Don't like writing loops in Javascript? Find it hard to
remember the difference between `for in` and `for of`? Royale has a more
intuitive loop syntax: `for each(item in array)`. While this is similar to `for
of`, this syntax supports all Javascript run-times including Internet Explorer.
- Native XML support. Royale applications support the full ECMA E4X spec not
generally supported by modern browsers today.
## Unopinionated