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

0 Likes

#2

Your function does not return anything.

1 Like

#3

ID10T Err. Thank you very much

0 Likes

closed #4
0 Likes