Output te screen

Output te screen
0

#1

function reverseString(str) {
var str = ‘’;
str.split(’’).reverse().join(’’);
}
document.write(reverseString(‘Hello’));

Good day,

I’m trying to output the function to the screen but get unidentified?
I have also tried console.log with same result?

Kind regards,

Schalk


#2

Your function does not return anything.


#3

ID10T Err. Thank you very much


#4