Adding and dividing numbers with JavaScript
In this article, let us create a Javascript program that will first add all the numbers within an array and then divide the sum of all those numbers with the largest number in that array. This program will use the JavasScript Promise object which will be returned every time a function has been called to…