When console.log is used in an app, the app runs on both device and emulator. However, running the code analyzer for this app would show an error.
Steps to reproduce:
1. Create a sample classic app
2. Include the following code:
3. Project Context Menu > Code Analysis > choose a platform
Actual result of the code analyzer shows:
Errors : "console" is not defined
and a red cross appears on the editor of the app.js indicating it as a syntax error.
No error should be shown