10-02-2017 18:07
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-02-2017 18:07
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
I noticed that the const declaration is never used in the tutorial apps, whereas let and var are. I’ve gotten const to work but I didn’t know if there was a reason for using let instead (perhaps it’s easier to allocate memory/ reduces mutability checks?)
Answered! Go to the Best Answer.
Accepted Solutions
10-03-2017 02:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


10-03-2017 02:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I've tended to try and keep the examples as simple as possible, for developers of all levels.
You can use any language features you choose, and the build process will handle the conversion to ES 5.1 for the device.
If you spot any problems, or have feedback about a specific example we'd love to hear about it.

10-03-2017 02:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


10-03-2017 02:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I've tended to try and keep the examples as simple as possible, for developers of all levels.
You can use any language features you choose, and the build process will handle the conversion to ES 5.1 for the device.
If you spot any problems, or have feedback about a specific example we'd love to hear about it.

