IBM
LOT-404 · Question #13
A newly created IBM Worklight application contains the base environment in a common folder. The Worklight application structure is also divided into environment folders (iPhone, Android, BlackBerry…
The correct answer is D. The JavaScript from an environment folder is appended to the file from common. See the full explanation below for the reasoning.
Question
A newly created IBM Worklight application contains the base environment in a common folder. The Worklight application structure is also divided into environment folders (iPhone, Android, BlackBerry, etc). Each environment folder contains the resources (CSS, JS, images, etc) that are IBM LOT-404 Exam relevant for that specific environment. Dave's common folder contains a JavaScript file and the iPhone folder also contains a JavaScript file. Which JavaScript will the iPhone device use?
Options
- AThe JavaScript from common is used unless wlEnvInit() is overwritten.
- BThe JavaScript from an environment folder overwrites the file from common.
- CThe JavaScript from common is used unless wlCommonInit() is overwritten.
- DThe JavaScript from an environment folder is appended to the file from common.
How the community answered
(64 responses)- A5% (3)
- B14% (9)
- C8% (5)
- D73% (47)
Community Discussion
No community discussion yet for this question.