Q. What will be the output of the following JavaScript code?
Code:<script>
function addition(a, b) {
return a+b;
}
document.getElementById("test").innerHTML = addition;
</script>
β
Correct Answer: (D)
function addition(a, b) { return a+b; }