Repeat a string repeat a string works but no pass [Solved]

This code seems to work but I keep getting red crosses…

any ideas as to what exactly is wrong…

Its ok I just figured it out…

I changed var stringStorage from
var stringStorage = " "; to var stringStorage = “”; taking away the space in between the speech marks.

and I added a if statement to return a empty string if num is not a positive number.