PrepAway - Latest Free Exam Questions & Answers

how should the variable be initialized before passing it to the method?

A Worklight mobile application uses a native page to display a real-time graph of the price of a
stock symbol. The native page is invoked from a web page using the WL.NativePage.show()
method and requires a parameter that contains the value of the stock symbol to display. To pass
the value of “IBM” as a parameter to the native page using the parm variable, how should the
variable be initialized before passing it to the method?

PrepAway - Latest Free Exam Questions & Answers

A.
var parm = “IBM”;

B.
var parm = [“IBM”];

C.
var parm = {symbol: “IBM”};

D.
var parm = [“symbol”, “IBM”];

Explanation:


Leave a Reply