I need a Javascript function that takes two numbers as arguments and returns their sum.
follow this code snippet
function sum(a,b){ return a+b; } console.log(sum(1,2));