This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Description
If we only run console.log(a);, it will output JerryScript: cannot run javascript due to 'a' is undefined. But adding console.log(a) in setTimeout() and setInterval(), no exception thrown on both Arduino 101 and FRDM-K64F.
setTimeout(function() {
console.log(a);
}, 1000);
But using the same code on chrome, it will throw exception like this:
Uncaught ReferenceError: a is not defined
| Branch |
Target Device |
Build ID |
Date |
Result |
| master |
Arduino |
5a25755 |
Dec 21, 2016 |
Nothing Output |
| master |
FRDM-K64F |
5a25755 |
Dec 21, 2016 |
Nothing Output |