Hello.
The following is my javascript code but it does not print 11 as output.
<head>
<script language="javascript">
function add(var a, var b)
{
var c;
c = a + b;
return c;
}
</script>
</head>
<body>
<script language="javascript" type="text/javascript">
var value;
value = add(5, 6);
document.write(value);
</script>
</body>