Adobe Flash Question:
Download Questions PDF

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

Adobe Flash Interview Question
Adobe Flash Interview Question

Answer:

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


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

Download Adobe Flash Interview Questions And Answers PDF

Previous QuestionNext Question
Which of the following is NOT a true statement about functions?Which of the following if statement is correctly writen?