Adobe Flash Question: Download Adobe Flash PDF

Function can be assigned to identiires at runtime. Assuming sampleVar equals true, what will be returned by the following function?

Tweet Share WhatsApp

Answer:

Code:
function sampleFunction(sampleVar){
if(sampleVar==true){
return "true";
return "continue";
}
}


A. Nothing
B. true
C. undefined
D. continue

Download Adobe Flash PDF Read All 132 Adobe Flash Questions
Previous QuestionNext Question
Which of the following is NOT a true statement about functions?Which of the following if statement is correctly writen?