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

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

#1

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

any ideas as to what exactly is wrong…


#2

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.