You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<html>
|
|
<head>
|
|
<title>Happy Codings :-) JavaScript Code Examples</title>
|
|
|
|
<script type="text/javascript">
|
|
function total(a,b){
|
|
return a + b
|
|
}
|
|
</script>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<script type="text/javascript">
|
|
document.write(total(2,3))
|
|
</script>
|
|
|
|
|
|
</body>
|
|
</html> |