I am new to Javascript and I was wondering if how to get spaces in my outputs?


  • Are you referring to spaces between the output, or line breaks?
    For spaces, you can add something like
    document.write(new[i]+" ");
    For line breaks, add + "
    " to your output.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion