Variable num args

Can someone tell me whats wrong here with this code?

function prefixedSum(prefix, …numbers){
let sum = 0;
for (let num of numbers){
sum += num;
return ‘${prefix}: ${sum}’;
prefixedSum('sum: ')
“${prefix}: ${sum}”
prefixedSum('Sum: ')
“${prefix}: ${sum}”
prefixedSum(‘Sum’, 1,2,3,4,5)
“${prefix}: ${sum}”

why am i not getting the result here?

Ps: I have a $sign before {prefix} and {sum}

Hello @Coding_Joe

if you have this result, i think you use quotes or double quotes in your return statement thus it returns a string instead of replacing the variables with their values.
With template literals you need to use backticks :

return `${prefix}: ${sum}`;