<head> <title></title> </head> <body> <script type = "text/javascript" > function addNumbers() { firstNum = 4; secondNum = 8; result = firstNum + secondNum; return result; } result = 0; alert(result); sum = addNumbers(); alert(result); </script> </body>