2022
Panel |
---|
Example 2 |
Code Block |
---|
//@Test
function test(){//@UserDefined
function chooseColor(priority) {
var color = "";
if(priority == "High"){
color = "Red";
} else if(priority == "Medium"){
color = "Yellow";
} else if(priority == "Low"){
color = "Green";
}
return color;
}
//@Test
function test(){
fullName("Pavan", "Jagadeeswaran");
}
fullName("Pavan", "Jagadeeswaran");
|