How to Find the Average Number Out of an Array in JavaScript

Опубликовано: 14 Октябрь 2024
на канале: Arslan
1,926
27

#programming #JavaScript #Arslan

Challenge: Once you have completed the tutorial round the final answer up if its greater than .5 or equal to .5. If its less then .5 round down.

Hint: There is a method in JavaScript try to find it.

Answer: console.log(Math.round(averageArraySum))


Please don't forget Like, Comment and Subscribe if you're new! Support the channel 😁: https://www.paypal.com/donate/?busine...