Question: / / Written by Kent, Clark var Enemies = [ Lex , Batman,Darkseid,Brainiac,General Zod,Doomsday ] ; funtion Who _ Wins ( is -

// Written by Kent, Clark
var Enemies=["Lex","Batman","Darkseid","Brainiac","General Zod","Doomsday"];
funtion Who_Wins(is-there-kryptonite,enemy_name)
{
if (!is-there-kryptonite)
{
return "Superman beats "+enemyName+", of course";
}
else{
return "Depends on how quick Superman can get rid of the Kryptonite. "+ enemyname +" could possibly win this one.";
}
}
for (var i=0;i=0.5){
clarkKent=false;
superman=true;
console.log("Now I'm Superman!");
}
}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!