Content deleted Content added
Line 103:
}
</pre>
=== Switch ===
switch(car) {
case "Nissan":
WriteOutput("I own a Nissan");
break;
case "Toyota":
WriteOutput("I own a Toyota");
break;
default:
WriteOutput("I'm exotic");
}
== Differences from JavaScript ==
|