Question: Write JavaScript codes using a loop that alerts the following numbers from 10 to -10, excluding 0, in reverse, with each number separated by a

 Write JavaScript codes using a loop that alerts the following numbers

Write JavaScript codes using a loop that alerts the following numbers from 10 to -10, excluding 0, in reverse, with each number separated by a space in one line. Make sure that there are no spaces before and after the line, i.e., "10 9 8 7 6 5 4 3 2 1 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10" For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac). B I U s Paragraph Arial 14px !!! . IX Q 6 =

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!