Hello!
I am currently in a beginning web development class and am in the process of writing a very simple JS script. The objective is to print the numbers 5 through 15 with their squares and cubes to an alert dialog box. I keep trying different methods of doing this, but it always ends up with the alert dialog box saying "Undefined". I can get it to print correctly with document.write, just not with alert.
I know that I am probably overlooking something small and silly, but I just can't figure it out.
Any help would be greatly appreciated, thank you!