IBM
C2180-279 · Question #105
A cross-platform mobile application has the following file structure: What happens when the application is deployed to an Android device and the function getPlatform() is invoked?
The correct answer is A. The invocation will return the value bar because the Android version of MyApp.js is appended to. See the full explanation below for the reasoning.
Question
A cross-platform mobile application has the following file structure:
What happens when the application is deployed to an Android device and the function getPlatform() is invoked?
Exhibit
Options
- AThe invocation will return the value bar because the Android version of MyApp.js is appended to
- BThe invocation will fail with a JavaScript error because the function getPlatform() was not defined
- CThe invocation should return the value bar, but it will return the value foo because the assignment
- DThe invocation will return the value foo because the Android version of MyApp.js does not declare
How the community answered
(15 responses)- A73% (11)
- B7% (1)
- C7% (1)
- D13% (2)
Community Discussion
No community discussion yet for this question.
