![hello, I'm doing this exercises form the book Eloquent Javascript, i can't make the function sum works, it should do the sum of the array given in the range function. Thanks to hello, I'm doing this exercises form the book Eloquent Javascript, i can't make the function sum works, it should do the sum of the array given in the range function. Thanks to](https://preview.redd.it/hello-im-doing-this-exercises-form-the-book-eloquent-v0-hw02cvcs0eia1.jpg?auto=webp&s=346085d2f1c7e4be1f96bda56bf75e7c698a034e)
hello, I'm doing this exercises form the book Eloquent Javascript, i can't make the function sum works, it should do the sum of the array given in the range function. Thanks to
![How to validate a range of number input in Javascript and end the loop with a designated input - JavaScript - Codecademy Forums How to validate a range of number input in Javascript and end the loop with a designated input - JavaScript - Codecademy Forums](https://global.discourse-cdn.com/codecademy/optimized/5X/d/2/0/5/d2057d2e69046752616bdee4e9409275e2ba022f_2_690x403.jpeg)
How to validate a range of number input in Javascript and end the loop with a designated input - JavaScript - Codecademy Forums
![JavaScript basic: Check whether two numbers are in range 40..60 or in the range 70..100 inclusive - w3resource JavaScript basic: Check whether two numbers are in range 40..60 or in the range 70..100 inclusive - w3resource](https://www.w3resource.com/w3r_images/javascript-basic-image-exercise-33.png)