Set value to the sum of the integers between x0 and x1, inclusive.

javascript programming
exercise: loops 01