How to add two numbers in javascript

Javascript + operator

<script>
function addTwoNumbers() {
    var x = 5;
    var y = 5;
    document.write(x+y);
}
addTwoNumbers();
</script>

Related Sourcecode

More Sourcecode

×
Google login
SignUp with Email
X