Javascript referens

JS

if (x > 0)
   {....}
else if (x < 0)
   {....}
else
   {....}
switch (action) {
   case "test" : test(); break;
   case "run" : run(); break;
   default : doNothing();
}
try
{
   ...
}
catch (err)
{
   write(err.description}
}

Tillbaka