09/11/2022
Accept an Unlimited Number of Arguments.
function sum (...numbers){
let total=0;
for(const number of numbers){
total+=number
}
return total
}
sum(2,3,4,5,6) //20😀
Contact information, map and directions, contact form, opening hours, services, ratings, photos, videos and announcements from Salom JavaScript - Learn with fun, Education Website, Tashkent.
Tashkent
Be the first to know and let us send you an email when Salom JavaScript - Learn with fun posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.
Send a message to Salom JavaScript - Learn with fun: