Programming languages are very useful for rapidly completing repetitive tasks, from multiple basic calculations to just about any other situation where you've got a lot of similar items of work to complete. Here we'll look at the loop structures available in JavaScript that handle such needs.... It then adds the return value from each function call to a...calculate the square of the current value of i , that is: i * i . We create...