<prompt> Construct a JavaScript function to calculate the sum of two numbers.  <response>: Here is a simple JavaScript function that calculates the sum of two numbers:javascriptfunction suma, b return a b;This function takes in two arguments a and b, which represent the two numbers you want to add together. The return a b; statement calculates the sum of these two numbers and returns the result.To use this function, you would call it with desired numbers as arguments like so:javascriptlet result sum3, 5;console.logresult; Outputs: 8 