<html>
<head>
<title> JS </title>
</head>
<body>
<script>
var a=30;
var b=20;
switch (a)
{
case 10: document.write("It's 10 no case");
break;
case 20: document.write("it's a 20 no case");
break;
default: document.write("Lavkushji.com");
break;
}
</script>
</body>
</html>

No comments:
Post a Comment