Array's - Programmers Heaven

Howdy, Stranger!

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



bevusnaranjobevusnaranjo Posts: 5Member
I am new to Javascript and I was wondering if how to get spaces in my outputs?


  • sharkus50sharkus50 Posts: 4Member
    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.